document.write( "Question 228200: a train leaves town a for town b, traveling at 35 mi/h. at the same time, a second train leaves town b for town a at 45 mi/h. if the towns are 320 miles apart, how long will it take for the two trains to meet? so this is the problem I need to solve. I know d= rt I represented train 1 as x and train 2 as x-10 since it went 10 mi/h slower. added them 2x-10=320 for miles apart came up with 165 miles but question was how long not miles. I am lost as to proper steps \n" ); document.write( "
Algebra.Com's Answer #169450 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
a train leaves town a for town b, traveling at 35 mi/h. at the same time, a second train leaves town b for town a at 45 mi/h. if the towns are 320 miles apart, how long will it take for the two trains to meet?
\n" ); document.write( "-------------
\n" ); document.write( "a to b DATA:
\n" ); document.write( "rate = 35 mph ; distance = x miles ; time = d/r = x/35 hrs
\n" ); document.write( "---------------
\n" ); document.write( "b to a DATA:
\n" ); document.write( "rate = 45 mph ; distance = 320-x miles ; time = d/r = (320-x)/45 hrs
\n" ); document.write( "---------------
\n" ); document.write( "Equation:
\n" ); document.write( "time = time
\n" ); document.write( "x/35 = (320-x)/45
\n" ); document.write( "45x = 35*320-35x
\n" ); document.write( "80x = 35*320
\n" ); document.write( "x = 140 miles
\n" ); document.write( "--------------
\n" ); document.write( "time = d/r = 140/35 = 4 hrs (time before the trains meet)
\n" ); document.write( "===========================================================
\n" ); document.write( "Another way to work the problem:
\n" ); document.write( "The combined rates of the two trains is 35+45 = 80 mph
\n" ); document.write( "The time for them together to cover 320 miles is 320/80 = 4 hrs.
\n" ); document.write( "===========================================================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );