Data:
Passenger train: P
speed: 135 km/h
Diesel train: D
speed: 112 km/h
The distance is equal to the speed multiplied by the time. You have the next equation that represent the distance travel by each train in terms of time (x) (in hours)
As the trains go in opposite direction and leave Detroit at the same time. They are 741 km away when the sum of their distances travel is 741km:
Solve x in the equation above to find the time that takes the trains to be 741 km away:
Answer: After 3 hours of travel the diesel train is 741km away from the passenger train