Correct option is B
Given:
Speed of the first boy = 5 km/hr
Speed of the second boy = 7 km/hr
Time to overtake the first boy = 6 seconds
Time to overtake the second boy = 9 seconds
Formula Used:
Length of the train = Relative speed × Time
Relative Speed = Speed of Train − Speed of Boy
Solution:
Let v be the speed of the train in m/s.
Relative speed with respect to the first boy = v - 5
Relative speed with respect to the second boy = v - 7
For the first boy:
L =
For the second boy:
L =
Set both equations equal to each other (since the length of the train is the same):
Using the first boy’s data:
L =
Thus, the length of the train is 10 meters.