document.write( "Question 604533: A man walks for 12 km at x km/h and then jogs for another 12 km at (x + 2) km/h. He travels for a total of 5 hours. Find the value of x. \n" ); document.write( "
Algebra.Com's Answer #381255 by alicealc(293)\"\" \"About 
You can put this solution on YOUR website!
speed = distance/time
\n" ); document.write( "so, time = distance/speed\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"12%2Fx+%2B+12%2F%28x%2B2%29=5\"
\n" ); document.write( "\"%2812%2A%28x%2B2%29%2B12%2Ax%29%2F%28x%2A%28x%2B2%29%29=5\"
\n" ); document.write( "\"%2812x%2B24%2B12x%29%2F%28x%5E2%2B2x%29=5\"
\n" ); document.write( "\"24x%2B24=5%2A%28x%5E2%2B2x%29\"
\n" ); document.write( "\"24x%2B24=5x%5E2%2B10x\"
\n" ); document.write( "\"0=5x%5E2%2B10x-24x-24\"
\n" ); document.write( "\"0=5x%5E2-14x-24\"
\n" ); document.write( "0 = (5x + 6)*(x - 4)
\n" ); document.write( "5x + 6 = 0 or x - 4 = 0
\n" ); document.write( "5x = -6 or x = 4
\n" ); document.write( "5x = -6/5 or x = 4
\n" ); document.write( "because the speed can't be a negative number, we choose x = 4\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "so, x = 4\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );