document.write( "Question 558883: two trains travel in opposite directions from the same station at rates differing by 20 kph. in two hours they will be 160 km apart \n" ); document.write( "
Algebra.Com's Answer #363251 by mananth(16946)\"\" \"About 
You can put this solution on YOUR website!
Train A speed =x
\n" ); document.write( "Train B speed = x+20\r
\n" ); document.write( "\n" ); document.write( "they are moving away
\n" ); document.write( "so add up speeds
\n" ); document.write( "combined speed = 2x+20\r
\n" ); document.write( "\n" ); document.write( "distance = 160
\n" ); document.write( "time = 2hours
\n" ); document.write( "t=d/r
\n" ); document.write( "2=160/(2x+20)
\n" ); document.write( "2(2x+20)=160
\n" ); document.write( "4x+40=160
\n" ); document.write( "4x=120
\n" ); document.write( "/4
\n" ); document.write( "x=30 mph\r
\n" ); document.write( "\n" ); document.write( "The speeds are 30 & 50 mph
\n" ); document.write( "
\n" );