algebra
posted by ash .
A train leaves the station at 9:00 pm traveling east at 36 miles per hour. A second train leaves the station at 10:00 pm traveling west at 42 miles per hour. At what time will both trains have traveled the same distance? I need help solving it :)

The distance traveled by the 9:00 train from 10:00 onward is
x(9:00) = 36 + 36 * t
Where t is the time in hours after 10:00
The distance traveled by the 10:00 train
from 10:00 onward is
x(10:00) = 42 * t
Set these two equal to each other to find the time at which they have both traveled the same distance
36 + 36*t = 42 * t
36 = 6*t
t = 6 hours
Add 6 hours to 10:00 
Simplify the expression.
22+ (32 – 42)