document.write( "Question 560361: Fred cycled from home to his friends house and back again.
\n" ); document.write( "The distance from Fred's home to his friends house is 20km
\n" ); document.write( "on his way from home to his friends house fred cycled at Xkm per hour
\n" ); document.write( "on his way back freds speed had decreased by 2 km per hour
\n" ); document.write( "it took fred 4 hours altogether to cycle to his friends house and back.
\n" ); document.write( "Write down an equation for x. \r
\n" ); document.write( "\n" ); document.write( "THEN SHow that the equation can be written as :
\n" ); document.write( "x^2 - 12x + 10 = 0\r
\n" ); document.write( "\n" ); document.write( "and solve it. \r
\n" ); document.write( "\n" ); document.write( "All i know is that it needs to be factorised somewhere? But im really unsure.
\n" ); document.write( "

Algebra.Com's Answer #363916 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
Fred cycled from home to his friends house and back again.
\n" ); document.write( "The distance from Fred's home to his friends house is 20km
\n" ); document.write( "on his way from home to his friends house fred cycled at Xkm per hour
\n" ); document.write( "on his way back freds speed had decreased by 2 km per hour
\n" ); document.write( "it took fred 4 hours altogether to cycle to his friends house and back.
\n" ); document.write( "Write down an equation for x.
\n" ); document.write( ":
\n" ); document.write( "Let x = from home speed
\n" ); document.write( "then
\n" ); document.write( "(x-2) = return home speed
\n" ); document.write( ":
\n" ); document.write( "Write a time equation, time = dist/speed
\n" ); document.write( ":
\n" ); document.write( "from time + return time = 4 hrs
\n" ); document.write( "\"20%2Fx\" + \"20%2F%28%28x-2%29%29\" = 4
\n" ); document.write( "multiply by x(x-2) to clear the denominators, results:
\n" ); document.write( "20(x-2) + 20x = 4x(x-2)
\n" ); document.write( "20x - 40 + 20x = 4x^2 - 8x
\n" ); document.write( "combine like terms on the right
\n" ); document.write( "0 = 4x^2 - 8x - 40x + 40
\n" ); document.write( "A quadratic equation
\n" ); document.write( "4x^2 - 48x + 40 = 0
\n" ); document.write( "simplify, divide by 4 and you have
\n" ); document.write( "x^2 - 12x + 10 = 0
\n" ); document.write( "and solve it.
\n" ); document.write( "Use the quadratic formula: a=1, b=-12; c=10
\n" ); document.write( "Only one solution will make sense, check it in the original time equation
\n" ); document.write( "
\n" );