document.write( "Question 205730: A train traveling at 40 miles per hour leaves for a certain town. One hour later, a bus traveling at 50 miles per hour leaves for the same town and arrives at the same time as the train. If both the train and the bus traveled in a straight line, how far is the town from where they started? \n" ); document.write( "
Algebra.Com's Answer #155358 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "I will write 2 equations, 1 for the bus and 1 for the train
\n" ); document.write( "\"d%5Bb%5D+=+r%5Bb%5D%2At%5Bb%5D\"
\n" ); document.write( "and
\n" ); document.write( "\"d%5Bt%5D+=+r%5Bt%5D%2At%5Bt%5D\"
\n" ); document.write( "-------------
\n" ); document.write( "given:
\n" ); document.write( "\"r%5Bb%5D+=+50\" mi/hr
\n" ); document.write( "\"r%5Bt%5D+=+40\" mi/hr
\n" ); document.write( "\"t%5Bt%5D+=+t%5Bb%5D+%2B+1\"
\n" ); document.write( "\"d%5Bb%5D+=+d%5Bt%5D\" (I'll call them both \"d\")
\n" ); document.write( "----------------
\n" ); document.write( "\"d+=+50%2At%5Bb%5D\"
\n" ); document.write( "\"d+=+40%2A%28t%5Bb%5D+%2B+1%29\"
\n" ); document.write( "\"d+=+40t%5Bb%5D+%2B+40\"
\n" ); document.write( "I'll subtract these equations
\n" ); document.write( "\"d+=+50t%5Bb%5D\"
\n" ); document.write( "\"-d+=+-40t%5Bb%5D+-+40\"
\n" ); document.write( "\"0+=+10t%5Bb%5D+-+40\"
\n" ); document.write( "\"10t%5Bb%5D+=+40\"
\n" ); document.write( "\"t%5Bb%5D+=+4\" hr
\n" ); document.write( "Now I'll solve for \"d\"
\n" ); document.write( "\"d+=+50t%5Bb%5D\"
\n" ); document.write( "\"d+=+50%2A4\"
\n" ); document.write( "\"d+=+200\" mi
\n" ); document.write( "The town is 200 mi from where they started
\n" ); document.write( "check answer:
\n" ); document.write( "\"d+=+40t%5Bb%5D+%2B+40\"
\n" ); document.write( "\"200+=+40%2A4+%2B+40\"
\n" ); document.write( "\"200+=+160+%2B+40\"
\n" ); document.write( "\"200+=+200\"
\n" ); document.write( "and
\n" ); document.write( "\"t%5Bt%5D+=t%5Bb%5D+%2B+1\"
\n" ); document.write( "\"t%5Bt%5D+=+4+%2B+1\"
\n" ); document.write( "\"t%5Bt%5D+=+5\" hr
\n" ); document.write( "\"d+=+40t%5Bt%5D\"
\n" ); document.write( "\"200+=+40%2A5\"
\n" ); document.write( "\"200+=+200\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" );