document.write( "Question 309607: Solve the problem. A man rode a bicycle for 12 miles and then hiked an additional 8 miles. The total time for the trip was 5 hours. If his rate when he was riding a bicycle was 10miles per hour faster than his rate walking, wat was each rate? \n" ); document.write( "
Algebra.Com's Answer #221432 by mananth(16946)\"\" \"About 
You can put this solution on YOUR website!
A man rode a bicycle for 12 miles and then hiked an additional 8 miles. The total time for the trip was 5 hours. If his rate when he was riding a bicycle was 10miles per hour faster than his rate walking, wat was each rate?\r
\n" ); document.write( "\n" ); document.write( "let his rate of walking be x mph
\n" ); document.write( "His rate of riding will be x + 10 mph
\n" ); document.write( ".
\n" ); document.write( "time taken for walking = 8/x hours
\n" ); document.write( "time taken for riding = 12/x+10
\n" ); document.write( ".
\n" ); document.write( "Time walking + time riding = total time
\n" ); document.write( "8/x + 12/ x+10 = 5 hours
\n" ); document.write( "LCM = x(x+10)\r
\n" ); document.write( "\n" ); document.write( "8(x+10) + 12x / x (x+10)= 5\r
\n" ); document.write( "\n" ); document.write( "8x +80 +12x = 5x^2 +50x\r
\n" ); document.write( "\n" ); document.write( "5x^2+30x-80=0
\n" ); document.write( "x^+6x-16 = 0
\n" ); document.write( "x^2+8x-2x-16=0
\n" ); document.write( "x(x+8)-2(x+8)=0
\n" ); document.write( "(x+8)(x-2)=0
\n" ); document.write( "x=2 which is positive\r
\n" ); document.write( "\n" ); document.write( "He walks at 2 mph
\n" ); document.write( "rides at 12 mph\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );