document.write( "Question 708665: A truck can cover the distance between two towns, A and B, in 30 hours, and a car can cover the same distance in 20 hours. If the truck leaves Town A toward Town B and the car leaves Town B toward Town A, and both start at the same time, how long would it take for them to meet? \r
\n" ); document.write( "\n" ); document.write( "I think it takes 6 hours but I can't figure out a way to show the calculations.
\n" ); document.write( "

Algebra.Com's Answer #436193 by josgarithmetic(39620)\"\" \"About 
You can put this solution on YOUR website!
The sum of their distances traveled in the time to meet is the distance between towns A and B. Time is h, for time in HOURS.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Truck: \"%28d%2F30%29%2Ah\", the distance moved in h hours
\n" ); document.write( "Car: \"%28d%2F20%29%2Ah\"\r
\n" ); document.write( "\n" ); document.write( "\"%28d%2F30%29%2Ah%2B%28d%2F20%29%2Ah=d\"
\n" ); document.write( "Divide both sides by d,
\n" ); document.write( "\"%281%2F30%29%2Ah%2B%281%2F20%29%2Ah=1\"
\n" ); document.write( "Combine terms of h,
\n" ); document.write( "\"%281%2F30%2B1%2F20%29h=1\"
\n" ); document.write( "\"%28%282%2B3%29%2F60%29h=1\"
\n" ); document.write( "\"%285%2F60%29h=1\"
\n" ); document.write( "\"%281%2F12%29h=1\"
\n" ); document.write( "\"highlight%28h=12%29\", 12 hours.
\n" ); document.write( "
\n" );