Bunuel
A railway employee is standing on a platform and observes two trains traveling in opposite directions on parallel tracks. He observes that the first train takes 40 seconds to completely pass the employee (from the moment the locomotive reaches him until the last carriage clears him), while the second takes 25 seconds to completely pass him. If the two trains take 30 seconds to completely pass each other (from the moment the fronts meet to the moment the rears separate), what is the ratio of the speed of the slower train to that of the faster train?
A. 1:4
B. 1:3
C. 1:2
D. 2:3
E. 3:4
GMAT Club Official Explanation:
This question can be solved in several ways. Below is arguably the most straightforward and reliable approach.
Let L1 and L2 be the lengths, and S1 and S2 the speeds, of the first and second trains, respectively.
The first train takes 40 seconds to pass the employee, so its length is:
L1 = S1 * 40
The second train takes 25 seconds to pass the employee, so its length is:
L2 = S2 * 25
When the two trains pass each other, they cover the total distance L1 + L2 in 30 seconds at a combined speed of S1 + S2.
So, we have the equation:
L1 + L2 = (S1 + S2) * 30
Substitute the expressions for L1 and L2:
S1 * 40 + S2 * 25 = (S1 + S2) * 30
10 * S1 = 5 * S2
S1 : S2 = 5 : 10 = 1 : 2
Answer: C.