document.write( "Question 109323: one positive integer is 7 less than twice another. the sum of their squares is 346. find the integers\r
\n" ); document.write( "\n" ); document.write( "i dont understand how to set this up
\n" ); document.write( "

Algebra.Com's Answer #79787 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
You set it up by writing exactly what it says
\n" ); document.write( "(think of the word \"is\" as meaning equal \"=\")
\n" ); document.write( ":
\n" ); document.write( "Let x = \"one positive integer
\n" ); document.write( "Let y = \"another positive integer
\n" ); document.write( ":
\n" ); document.write( "One positive integer is 7 less than twice another
\n" ); document.write( " x = 2y - 7
\n" ); document.write( ":
\n" ); document.write( "the sum of their squares is 346.
\n" ); document.write( " x^2 + y^2 = 346
\n" ); document.write( ":
\n" ); document.write( "Find the integers
\n" ); document.write( ":
\n" ); document.write( "From the 1st statement, we know that x = (2y-7),
\n" ); document.write( "x^2 + y^2 = 346
\n" ); document.write( ":
\n" ); document.write( "Substitute (2y-7) for x in the above equation
\n" ); document.write( "(2y-7)^2 + y^2 = 346
\n" ); document.write( ":
\n" ); document.write( "FOIL (2y-7)(2y-7)
\n" ); document.write( "4y^2 - 28y + 49 + y^2 = 346
\n" ); document.write( ":
\n" ); document.write( "5y^2 - 28y + 49 - 346 = 0
\n" ); document.write( ":
\n" ); document.write( "5y^2 - 28y - 297 = 0
\n" ); document.write( ":
\n" ); document.write( "We probably should use the quadratic formula, however,
\n" ); document.write( "we know the positive solution has to be an integer,
\n" ); document.write( "let's play around with the factors of 297, we come up with:
\n" ); document.write( "(5y + 27) (y - 11) = 0
\n" ); document.write( ":
\n" ); document.write( "y = +11
\n" ); document.write( ":
\n" ); document.write( "x = 2(11) - 7
\n" ); document.write( "x = 22 - 7
\n" ); document.write( "x = 15
\n" ); document.write( ":
\n" ); document.write( "Check our solutions:
\n" ); document.write( "11^2 + 15^2 =
\n" ); document.write( "121 + 225 = 346
\n" ); document.write( "
\n" );