document.write( "Question 640952: Jim Williamson began a 96-mile bicycle trip to build up stamina for a triathlete competition. Unfortunately, his bicycle chain broke, so he finished the trip walking. The whole trip took 6 hours. If Jim walks at a rate of 4 miles per hour and rides at 20 miles per hour, find the amount of time he spent on the bicycle. \n" ); document.write( "
Algebra.Com's Answer #403490 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+t+\" = the time in hours he spent walking
\n" ); document.write( "\"+6+-+t+\" = time in hours he spent on bike
\n" ); document.write( "Let \"+d+\" = distance Jim walked in miles
\n" ); document.write( "\"+96+-+d+\" = distance in miles he biked
\n" ); document.write( "Equation for walking:
\n" ); document.write( "(1) \"+d+=+4t+\"
\n" ); document.write( "Equation for biking:
\n" ); document.write( "(2) \"+96+-+d+=+20%2A%28+6-t+%29+\"
\n" ); document.write( "---------------------
\n" ); document.write( "Substitute (1) into (2)
\n" ); document.write( "(2) \"+96+-+4t+=+120+-+20t+\"
\n" ); document.write( "(2) \"+20t+-+4t+=+120+-+96+\"
\n" ); document.write( "(2) \"+16t+=+24+\"
\n" ); document.write( "(2) \"+t+=+3%2F2+\"
\n" ); document.write( "\"+6+-+t+=+6+-+3%2F2+\"
\n" ); document.write( "\"+6+-+t+=+9%2F2+\"
\n" ); document.write( "Jim's time spent on bike is 4 and a half hours
\n" ); document.write( "check:
\n" ); document.write( "(1) \"+d+=+4%2A%283%2F2%29+\"
\n" ); document.write( "(1) \"+d+=+6+\"
\n" ); document.write( "and
\n" ); document.write( "(2) \"+96+-+d+=+20%2A%28+6-%283%2F2%29+%29+\"
\n" ); document.write( "(2) \"+-d+=+20%2A%289%2F2%29+-+96+\"
\n" ); document.write( "(2) \"+-d+=+90+-+96+\"
\n" ); document.write( "(2) \"+-d+=+-6+\"
\n" ); document.write( "(2) \"+d+=+6+\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" );