document.write( "Question 1097760: 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 turn 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 #712194 by ikleyn(52778)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "
\r\n" );
document.write( "Let D be the distance between the cities A and B.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Till the moment of the meeting the car A covered the distance (D + 30) km,\r\n" );
document.write( "while the truck covered the distance of (D - 30) km. \r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Car   A spent \"%28D%2B30%29%2F50\" hours to cover the distance (D+30) at the rate 50 km/h.\r\n" );
document.write( "\r\n" );
document.write( "Truck B spent \"%28D-30%29%2F40\" hours to cover the distance (D-30) at the rate 40 km/h.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The time spent is the same, which gives you an equation\r\n" );
document.write( "\r\n" );
document.write( "\"%28D%2B30%29%2F50\" = \"%28D-30%29%2F40\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "To solve it, cross multiply and simplify:\r\n" );
document.write( "\r\n" );
document.write( "40*(D+30) = 50*(D-30)  ====>\r\n" );
document.write( "\r\n" );
document.write( "40D + 1200 = 50D - 1500  ====>  1200 + 1500 = 50D - 40D  ====>  10D = 2700  ====>  D = \"2700%2F10\"  = 270.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Answer.  The distance between the cities A and B is 270 kilometers.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Check.   \"%28270%2B30%29%2F50\" = 6 = \"%28270-30%29%2F40\".   ! Correct !\r\n" );
document.write( "
\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );