document.write( "Question 734373: A train travelled from A to B and back in a certain time at rate of 60 km/hr. But if the train had travelled from A to B at the rate of 80 km/hr and back from B to A at the rate of 40 km/hr it would take 2 hours longer. find the distance between A to B. \n" ); document.write( "
Algebra.Com's Answer #448970 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
A train traveled from A to B and back in a certain time at rate of 60 km/hr.
\n" ); document.write( " But if the train had traveled from A to B at the rate of 80 km/hr and back
\n" ); document.write( " from B to A at the rate of 40 km/hr it would take 2 hours longer.
\n" ); document.write( " find the distance between A to B.
\n" ); document.write( ":
\n" ); document.write( "let d = distance from A to B
\n" ); document.write( "let t = time for round trip at 60 km/hr
\n" ); document.write( "then
\n" ); document.write( "t = \"%282d%29%2F60\"
\n" ); document.write( ":
\n" ); document.write( "\"But if the train had traveled from A to B at the rate of 80 km/hr and back from B to A at the rate of 40 km/hr it would take 2 hours longer. \"
\n" ); document.write( "\"d%2F80\" + \"d%2F40\" = t + 2
\n" ); document.write( "Replace t with 2d/60
\n" ); document.write( "\"d%2F80\" + \"d%2F40\" = \"%282d%29%2F60\" + 2
\n" ); document.write( "multiply by 240 to clear the denominators, resulting in:
\n" ); document.write( "3d + 6d = 4(2d) + 240(2)
\n" ); document.write( "9d = 8d + 480
\n" ); document.write( "9d - 8d = 480
\n" ); document.write( "d = 480 km from A to B
\n" ); document.write( ":
\n" ); document.write( ":
\n" ); document.write( "Confirm this solution by finding the times
\n" ); document.write( "960/60 = 16 hrs
\n" ); document.write( "and
\n" ); document.write( "480/80 = 6 hrs
\n" ); document.write( "480/40 = 12 hrs
\n" ); document.write( "-------------
\n" ); document.write( "total : 18 hr, 2 hrs more
\n" ); document.write( "
\n" ); document.write( "
\n" );