Let the speed of the rickshaw be x km/min and the speed of the bus be y km/min.
As given in the problem,
since time =distancespeed,
2x+12y=30
4x+10y=39
Substituting 1x as u and 1y as v (Where x≠0,y≠0), we get
2u+12v=30 …(1)
4u+10v=39 …(2)
Multiplying equation (1) by 2,
we get
4u+24v=60 …(3)
Subtracting equation (2) from equation (3),
we get
14v=21
⇒v=32
Putting v=32 in the equation (1),
we get
2u+12×32=30
⇒2u=30−18
⇒u=122=6.
Therefore,
x=16 km/min and y=23 km/min.
To get the speed in km/hr, we multiply each speed with 60 since 1 hr = 60 min.
Therefore,
x=16×60=10 km/hr
y=23×60=40 km/hr