You can
put this solution on YOUR website!For both trains, the same formula applies, but I'll write it
differently for each train so I keep track of each train's data

=distance in miles

= speed in mi/hr

= elapsed time in hrs
For train a:

For train b:

-------------
Given:

mi/hr

mi/hr
--------------
I want to have
the start time for both trains the same, at 7 AM,
so I want to know how far train a has gone between
5 AM and 7 AM

mi
Now the trains will both travel for 1 hr, 7 AM to 8 AM

mi
------------

mi
------------

mi
So, train b has gained 10 mi on train a, but train a
already had a 70 mi head start on train b

Train a is 60 mi ahead of train b
-----------
check answer:
For train a:

mi
For train b:

mi
The difference is 60 mi