document.write( "Question 1097767: A truck traveling at 40 kph and a car traveling at 50 kph leave town A at the same time and travel to a second town B. Upon reaching B, the car turned around immediately and traveled the same road toward A. Find the distance between the towns if the car will meet the truck 30 km from town B. \n" ); document.write( "
Algebra.Com's Answer #712193 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"d\" = the distance from A to B
\n" ); document.write( "\"+d+-+30+\" = the distance in km the truck travels
\n" ); document.write( "until it meets the car
\n" ); document.write( "\"+d+%2B+30+\" = the distance in km the car travels
\n" ); document.write( "until it meets the truck
\n" ); document.write( "Let \"+t+\" = time in hrs until they meet
\n" ); document.write( "--------------------------------------------------
\n" ); document.write( "The truck's equation:
\n" ); document.write( "(1) \"+d+-+30+=+40t+\"
\n" ); document.write( "The car's equation:
\n" ); document.write( "(2) \"+d+%2B+30+=+50t+\"
\n" ); document.write( "---------------------------
\n" ); document.write( "subtract (1) from (2)
\n" ); document.write( "(2) \"+d+%2B+30+=+50t+\"
\n" ); document.write( "(1) \"+-d+%2B+30+=+-40t+\"
\n" ); document.write( "--------------------------
\n" ); document.write( "\"+60+=+10t+\"
\n" ); document.write( "\"+t+=+6+\" hrs
\n" ); document.write( "-------------------
\n" ); document.write( "Plug this result back into either equation
\n" ); document.write( "(1) \"+d+-+30+=+40%2A6+\"
\n" ); document.write( "(1) \"+d+=+240+%2B+30+\"
\n" ); document.write( "(1) \"+d+=+270+\"
\n" ); document.write( "The distance between the towns is 270 km
\n" ); document.write( "-----------------------------------------
\n" ); document.write( "check:
\n" ); document.write( "(2) \"+d+%2B+30+=+50t+\"
\n" ); document.write( "(2) \"+270+%2B+30+=+50%2A6+\"
\n" ); document.write( "(2) \"+300+=+300+\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" ); document.write( "
\n" );