document.write( "Question 714545: Hi!\r
\n" ); document.write( "\n" ); document.write( "x+y=2
\n" ); document.write( "x*y=-15\r
\n" ); document.write( "\n" ); document.write( "Best regards
\n" ); document.write( "Richard
\n" ); document.write( "

Algebra.Com's Answer #438852 by Simnepi(216)\"\" \"About 
You can put this solution on YOUR website!
x+y=2 let's call this equation (1)
\n" ); document.write( "x*y=-15 let's call this equation (2)
\n" ); document.write( "from (1) we can deduce
\n" ); document.write( "y=2-x
\n" ); document.write( "let us substitute this value into (2)
\n" ); document.write( "giving us
\n" ); document.write( "x*(2-x)=-15
\n" ); document.write( "multiplying out the bracket gives
\n" ); document.write( "\"2x-x%5E2=-15\"
\n" ); document.write( "rearranging this gives
\n" ); document.write( "\"x%5E2-2x-15=0\"
\n" ); document.write( "now we have a quadratic to solve!
\n" ); document.write( "(finding a factor pair of the constant term that will add to make the coefficient of the x term)
\n" ); document.write( "this gives
\n" ); document.write( "(x-5)(x+3)=0
\n" ); document.write( "and we find our numbers to be
\n" ); document.write( "5 and -3
\n" ); document.write( "thus x=5 and y=-3 (or vice versa!)
\n" ); document.write( "
\n" );