document.write( "Question 438775: please help me to solve the problem
\n" ); document.write( "places A and B are 100km apart on a highway. one car starts from A and another starts from B . if the cars travel in the same directions with different speed , they meet in 5 hours . if they travel towards each other, they meet in 1 hour. what are the speeds of the two cars
\n" ); document.write( "

Algebra.Com's Answer #303326 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
places A and B are 100km apart on a highway. one car starts from A and another starts from B . if the cars travel in the same directions with different speed , they meet in 5 hours . if they travel towards each other, they meet in 1 hour. what are the speeds of the two cars
\n" ); document.write( "---------------------------
\n" ); document.write( "Catch-up DATA:
\n" ); document.write( "A's DATA:
\n" ); document.write( "rate = a km/hr ; time = 5 hrs; distance = 5a km
\n" ); document.write( "B's DATA:
\n" ); document.write( "rate = b km/hr ; time = 5 hrs; distance = 5b km
\n" ); document.write( "---
\n" ); document.write( "Note If A catches up to B, A's distance is 100 km + 5b
\n" ); document.write( "So, 5a = 5b+100
\n" ); document.write( "------------------------
\n" ); document.write( "Meeting DATA:
\n" ); document.write( "A's DATA:
\n" ); document.write( "rate = a km/hr ; time = 1 hr; distance = a km
\n" ); document.write( "B's DATA:
\n" ); document.write( "rate = b km/hr ; time = 1 hr; distance = b km
\n" ); document.write( "---
\n" ); document.write( "Equation:
\n" ); document.write( "a+b = 100 km
\n" ); document.write( "-----------------------
\n" ); document.write( "So you have two equations:
\n" ); document.write( "5a = 5b+100
\n" ); document.write( "a+b = 100
\n" ); document.write( "----
\n" ); document.write( "Modifying those you get:
\n" ); document.write( "a-b = 20
\n" ); document.write( "a+b = 100
\n" ); document.write( "----
\n" ); document.write( "Add and solve for \"a:
\n" ); document.write( "2a = 120
\n" ); document.write( "a = 60 km/hr (A's rate)
\n" ); document.write( "---
\n" ); document.write( "Solve for \"b\":
\n" ); document.write( "a + b = 100
\n" ); document.write( "60 +b = 100
\n" ); document.write( "b = 40 mph (B's rate)
\n" ); document.write( "==========================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" );