document.write( "Question 953093: Paul travels 6km to work. He walks part of the way at 5km/h and gets a bus the rest of the way at 40km/h. The whole journey takes 30 minutes. How far does he walk? \n" ); document.write( "
Algebra.Com's Answer #582031 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+d+\" = distance he walks in km
\n" ); document.write( "\"+6+-+d+\" = the distance he takes bus in km
\n" ); document.write( "Let \"+t+\" = time in hrs he walks
\n" ); document.write( "\"+.5+-+t+\" = time in hrs he spends on bus
\n" ); document.write( "-------------------------
\n" ); document.write( "Equation for walking:
\n" ); document.write( "(1) \"+d+=+5t+\"
\n" ); document.write( "Equation on bus:
\n" ); document.write( "(2) \"+6+-+d+=+40%2A%28+.5+-+t+%29+\"
\n" ); document.write( "--------------------------
\n" ); document.write( "(2) \"+6+-+d+=+20+-+40t+\"
\n" ); document.write( "substitute (1) into (2)
\n" ); document.write( "(2) \"+6+-+5t+=+20+-+40t+\"
\n" ); document.write( "(2) \"+35t+=+14+\"
\n" ); document.write( "(2) \"+t+=+14%2F35+\"
\n" ); document.write( "(2) \"+t+=+2%2F5+\"
\n" ); document.write( "and
\n" ); document.write( "(1) \"+d+=+5t+\"
\n" ); document.write( "(1) \"+d+=+5%2A%2814%2F35%29+\"
\n" ); document.write( "(1) \"+d+=+2+\"
\n" ); document.write( "He walks 2 km
\n" ); document.write( "-----------------
\n" ); document.write( "check:
\n" ); document.write( "(2) \"+6+-+d+=+40%2A%28+.5+-+t+%29+\"
\n" ); document.write( "(2) \"+6+-+2+=+40%2A%28+.5+-+.4+%29+\"
\n" ); document.write( "(2) \"+4+=+40%2A%28+.1+%29+\"
\n" ); document.write( "(2) \"+4+=+4+\"
\n" ); document.write( "OK
\n" ); document.write( "(1) \"+d+=+5t+\"
\n" ); document.write( "(1) \"+2+=+5%2A%282%2F5%29+\"
\n" ); document.write( "(1) \"+2+=+2+\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" ); document.write( "
\n" );