document.write( "Question 284678: person walks 6 mph to the gym and returns at 48 mph in car the trip takes 45 minutes. how long did it take to walk and drive the distance? \n" ); document.write( "
Algebra.Com's Answer #206512 by xachu4u(10)\"\" \"About 
You can put this solution on YOUR website!
Let the total distance covered be x miles.
\n" ); document.write( "Let him take 't' minutes to go to gym by walking
\n" ); document.write( "& (45-t) min for returning by driving. OK.
\n" ); document.write( "
\n" ); document.write( "Distance = speed * time. OK.\r
\n" ); document.write( "\n" ); document.write( "x = 6 mph * t\r
\n" ); document.write( "\n" ); document.write( "also \r
\n" ); document.write( "\n" ); document.write( "x = 48 mph * (45-t)\r
\n" ); document.write( "\n" ); document.write( "Thus:\r
\n" ); document.write( "\n" ); document.write( "=> 6 mph * t = 48 mph * (45-t)\r
\n" ); document.write( "\n" ); document.write( "On solving t = 40 min(for walking ,so 5 min for driving) .OK.\r
\n" ); document.write( "\n" ); document.write( "Thus x = 6 * 40 = 240 miles......\r
\n" ); document.write( "\n" ); document.write( "Happy....\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );