document.write( "Question 1032342: A train leaves Philadelphia at 1:00 PM. A second train leaves the same city in the same direction at 3:00 PM. The second train travels 20 mph faster than the first. If the second train overtakes the first at 9:00 PM, what is the speed of each of the two trains? \n" ); document.write( "
Algebra.Com's Answer #646964 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+s+\" = the speed of the 1st train in mi/hr
\n" ); document.write( "\"+s+%2B+20+\" = the speed of the 2nd train in mi/hr
\n" ); document.write( "-------------------------
\n" ); document.write( "What is the 1st train's head start in miles?
\n" ); document.write( "\"+d%5B1%5D+=+s%2A2+\"
\n" ); document.write( "----------------
\n" ); document.write( "Start a stopwatch when the 2nd train leaves
\n" ); document.write( "at 3 PM and stop the stopwatch at 9 PM
\n" ); document.write( "Let \"+d+\" = distance in miles the 2nd train
\n" ); document.write( "travels until it catches up with 1st train at 9 PM
\n" ); document.write( "----------------
\n" ); document.write( "Equation for 1st train:
\n" ); document.write( "(1) \"+d+-+2s+=+s%2A6+\"
\n" ); document.write( "Equation for 2nd train:
\n" ); document.write( "(2) \"+d=+%28+s%2B20+%29%2A6+\"
\n" ); document.write( "----------------------
\n" ); document.write( "Substitute (2) into (1)
\n" ); document.write( "(1) \"+%28+s%2B20+%29%2A6+-+2s+=+s%2A6+\"
\n" ); document.write( "(1) \"+6s+%2B+120+-+2s+=+6s+\"
\n" ); document.write( "(1) \"+2s+=+120+\"
\n" ); document.write( "(1) \"+s+=+60+\"
\n" ); document.write( "and
\n" ); document.write( "\"+s+%2B+20+=+80+\"
\n" ); document.write( "The 1st train's speed is 60 mi/hr
\n" ); document.write( "The 2nd train's speed is 80 mi/hr
\n" ); document.write( "------------------------------
\n" ); document.write( "check:
\n" ); document.write( "(1) \"+d+-+2s+=+s%2A6+\"
\n" ); document.write( "(1) \"+d+-+2%2A60+=+6%2A60+\"
\n" ); document.write( "(1) \"+d+-+120+=+360+\"
\n" ); document.write( "(1) \"+d+=+480+\"
\n" ); document.write( "and
\n" ); document.write( "(2) \"+d+=+%28+s%2B20+%29%2A6+\"
\n" ); document.write( "(2) \"+d+=+%28+60%2B20+%29%2A6+\"
\n" ); document.write( "(2) \"+d+=+80%2A6+\"
\n" ); document.write( "(2) \"+d+=+480+\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" );