Question 58087
As the two trains are 510 miles apart after 6 hours they have a combined speed of 510/6=85 miles per hour.
If the slower train has a speed of x then the second train has a speed of x+5 so
2x+5=85
2x=80
x=40.
So one train is travelling at 40 miles per hour and the second train is travelling at 45 miles per hour.