document.write( "Question 387603: A train leaves Toronto for Montreal at the same time as another train leaves Montreal for Toronto. The cities are 500km apart. The trains pass each other 2h later. The train from Montreal is traveling 50km/h faster than the one from Toronto. At what distance away from Toronto do the trains pass each other?
\n" ); document.write( " I do not understand as to how I should set up each equation. Solving is easy, but setting up the equations is hard.\r
\n" ); document.write( "\n" ); document.write( " What I know:
\n" ); document.write( "Toronto Montreal
\n" ); document.write( "D=500km D=500km
\n" ); document.write( "S=x S=x+50
\n" ); document.write( "

Algebra.Com's Answer #275862 by lwsshak3(11628)\"\" \"About 
You can put this solution on YOUR website!
let x = distance from Montreal to the point where the trains pass each other after two hours.
\n" ); document.write( "then, 500-x =distance from Toronto to the point where the trains pass each other after two hours.
\n" ); document.write( "speed = distance ÷ time\r
\n" ); document.write( "\n" ); document.write( "speed of Montreal train = x/2
\n" ); document.write( "speed of Toronto train = (500-x)/2\r
\n" ); document.write( "\n" ); document.write( "The Montreal train is 50 km/hour faster\r
\n" ); document.write( "\n" ); document.write( "x/2 -(500-x)/2=50
\n" ); document.write( "x - 500+x=100
\n" ); document.write( "2x = 600
\n" ); document.write( "x=300
\n" ); document.write( "500-x = 200
\n" ); document.write( "ans: the distance away from Toronto as the trains pass each other is 200 km
\n" ); document.write( "
\n" );