document.write( "Question 206407: karen is 5 years older than the square age of daniel's age. In 20 years time Karens age will be double Daniels age. How old are they now \n" ); document.write( "
Algebra.Com's Answer #156028 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
k = Karen's age now
\n" ); document.write( "d = Daniel's age now
\n" ); document.write( ":
\n" ); document.write( "Karen is 5 years older than the square age of Daniel's age.
\n" ); document.write( "k = d^2 + 5
\n" ); document.write( ":
\n" ); document.write( "In 20 years time, Karen's age will be double Daniel's age.
\n" ); document.write( "k + 20 = 2(d + 20)
\n" ); document.write( ":
\n" ); document.write( "k + 20 = 2d + 40
\n" ); document.write( ":
\n" ); document.write( "k = 2d + 40 - 20
\n" ); document.write( ":
\n" ); document.write( "k = 2d + 20
\n" ); document.write( ":
\n" ); document.write( " How old are they now?
\n" ); document.write( ":
\n" ); document.write( "Replace k with (d^2+5)
\n" ); document.write( "d^2 + 5 = 2d + 20
\n" ); document.write( ":
\n" ); document.write( "Arrange as a quadratic equation
\n" ); document.write( "d^2 - 2d + 5 - 20 = 0
\n" ); document.write( ":
\n" ); document.write( "d^2 - 2d - 15 = 0
\n" ); document.write( ":
\n" ); document.write( "Factors to:
\n" ); document.write( "(d-5)(d+3) = 0
\n" ); document.write( ":
\n" ); document.write( "Positive solution:
\n" ); document.write( "d = 5 yrs is Daniel's present age
\n" ); document.write( "then
\n" ); document.write( "5^2 + 5 = 30 yrs is Karen's age
\n" ); document.write( ":
\n" ); document.write( ":
\n" ); document.write( "Check solution in the statement
\n" ); document.write( "\"In 20 years time Karen's age will be double Daniels age.\"
\n" ); document.write( "30 + 20 = 2(5 + 20)
\n" ); document.write( "
\n" );