document.write( "Question 1060337: A train leaves Philadelphia at 5:00 PM. A second train leaves the same city in the same direction at 7:00 PM. The second train travels 30 mph faster than the first. If the second train overtakes the first at 11:00 PM, what is the speed of each of the two trains? \n" ); document.write( "
Algebra.Com's Answer #675339 by jorel555(1290)\"\" \"About 
You can put this solution on YOUR website!
Let n be the speed of the slower train. Then the faster train is n+30. Since the slow train has a headstart of two hours that is 2n. So
\n" ); document.write( "2n+4n=4(n+30)
\n" ); document.write( "6n=4n+120
\n" ); document.write( "2n=120
\n" ); document.write( "n=60
\n" ); document.write( "The slow train has a speed of 60 mph; the faster train goes 90 mph.
\n" ); document.write( "
\n" );