I have a math problem from a math contest I will be taking soon that I simply cannot understand how they got their answer.
If Train A leaves at noon from San Francisco and heads for Chicago going 40 mph. Two hours later Train B leaves the same station, also for Chicago, traveling 60mph. How long until Train B overtakes Train A?
I got 6 P.M. but the answer key says 4 P.M.?
The time when the two trains will meet is going to be the solution to the following equation (the intersection of two straight lines) where $t\ge0$ and $t=0$ corresponds to $12:00$ PM (noon):
$$ 40t=60(t-2)\implies\\ 40t=60t-120\implies\\ t=6\ P.M. $$
But the second train (B) departed at $2$ P.M. Therefore, it's $6-2=4$ hours before the second train (B) catches up with the first one (A). I don't know why it says P.M. in the answer key, but the answer to the question "how long until train B overtakes train A" should be the number of hours because it's the difference between two points in time designated as $6$ P.M. and $2$ P.M and that should be measured just in hours.