document.write( "Question 19596: A freight train and an express train leave towns 390 km apart, traveling toward one another. The freight train travels 30 km per hour slower than the express train. They pass one another 3 hour later. What are their speeds?\r
\n" ); document.write( "\n" ); document.write( "Thanks for your help.
\n" ); document.write( "

Algebra.Com's Answer #9484 by venugopalramana(3286)\"\" \"About 
You can put this solution on YOUR website!
Initial distance between 2 trains=390 km
\n" ); document.write( "Final distance between 2 trains=0 km….(since they pass one another)
\n" ); document.write( "Hence distance traveled by both together=390-0=390 km
\n" ); document.write( "Let speed of express train =x kmph
\n" ); document.write( "30 kmph slower than above=x-30 kmph=speed of goods train
\n" ); document.write( "since both are traveling in opposite directions ,their relative speed is sum of their speeds =x+x-30=2x-30 kmph (note that with each passing hour,when the trains move in opposite directions,their distance of separation comes down by he sum of their speeds)
\n" ); document.write( "time of travel =3 hrs.
\n" ); document.write( "so we have…..relative speed =distance trvelled between final and initial stgs/time difference from beginning to end of travel
\n" ); document.write( "2x-30=390/3=130
\n" ); document.write( "2x=130+30=160
\n" ); document.write( "x=160/2=80
\n" ); document.write( "speed of express = 80 kmph
\n" ); document.write( "speed of goods = x-30 =80-30=50 kmph
\n" ); document.write( "
\n" );