document.write( "Question 818496: Peter cycles to visit his grandma and then returns home by the same route. He always cycles at 4 km/h when going uphill, 12 km/h when going downhill and 6km/h when on level ground. If his total cycling time is 2hours and 20 minutes, what is the total distance he cycles in km? \n" ); document.write( "
Algebra.Com's Answer #492730 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
Peter cycles to visit his grandma and then returns home by the same route.
\n" ); document.write( " He always cycles at 4 km/h when going uphill, 12 km/h when going downhill and 6km/h when on level ground.
\n" ); document.write( "If his total cycling time is 2hours and 20 minutes, what is the total distance he cycles in km?
\n" ); document.write( ":
\n" ); document.write( "Let x = dist up-hill or downhill
\n" ); document.write( "Let d = the one-way distance
\n" ); document.write( "then
\n" ); document.write( "(d-x) = dist on level ground
\n" ); document.write( ":
\n" ); document.write( "Write a time equation: time = dist/speed
\n" ); document.write( "to grandma + return home = 2\"1%2F3\" hrs
\n" ); document.write( "\"x%2F4\" + \"%28%28d-x%29%29%2F6\" + \"%28%28d-x%29%29%2F6\" + \"x%2F12\" = \"7%2F3\"
\n" ); document.write( "multiply by 12, cancel the denominators
\n" ); document.write( "3x + 2(d-x) + 2(d-x) + x = 4(7)
\n" ); document.write( "3x + 2d - 2x + 2d - 2x + x = 28
\n" ); document.write( "Combine like terms
\n" ); document.write( "3x - 2x - 2x + x + 2d + 2d = 28
\n" ); document.write( "4d = 28
\n" ); document.write( "d = 7 km one-way
\n" ); document.write( "2(7) = 14 km is the total distance
\n" ); document.write( ":
\n" ); document.write( "
\n" ); document.write( "
\n" );