document.write( "Question 190217This question is from textbook
\n" ); document.write( ": The sum of the squares of Maria's two kids is 289. If the boy is seven years older than the girl, then what are their ages ? \n" ); document.write( "
Algebra.Com's Answer #142759 by nerdybill(7384)\"\" \"About 
You can put this solution on YOUR website!
The sum of the squares of Maria's two kids is 289. If the boy is seven years older than the girl, then what are their ages ?
\n" ); document.write( ".
\n" ); document.write( "Let g = age of the girl
\n" ); document.write( "then
\n" ); document.write( "g+7 = age of boy
\n" ); document.write( ".
\n" ); document.write( "g^2 + (g+7)^2 = 289
\n" ); document.write( "g^2 + (g+7)(g+7) = 289
\n" ); document.write( "g^2 + (g^2+14g+49) = 289
\n" ); document.write( "2g^2 + 14g + 49 = 289
\n" ); document.write( "2g^2 + 14g - 240 = 0
\n" ); document.write( "g^2 + 7g - 120 = 0
\n" ); document.write( "(g+15)(g-8) = 0
\n" ); document.write( "g = {8, -15}
\n" ); document.write( "We can throw away the negative solution leaving us with:
\n" ); document.write( "g = 8 years old (age of girl)
\n" ); document.write( ".
\n" ); document.write( "age of boy:
\n" ); document.write( "g+7 = 8+7 = 15 years old (age of boy)
\n" ); document.write( "
\n" );