document.write( "Question 52697: evaluate the following expressions for x=-1, y=2
\n" ); document.write( "x-((y-1)^2)+2(x^2+2x)
\n" ); document.write( "

Algebra.Com's Answer #35171 by funmath(2933)\"\" \"About 
You can put this solution on YOUR website!
\"x-%28y-1%29%5E2%2B2%28x%5E2%2B2x%29\"
\n" ); document.write( "Substitute -1 in for x and 2 in for y. It helps to use parenthesese to keep the signs straight.
\n" ); document.write( "=\"%28-1%29-%28%282%29-1%29%5E2%2B2%28%28-1%29%5E2%2B2%28-1%29%29\"
\n" ); document.write( "=\"-1-%281%29%5E2%2B2%281-2%29\"
\n" ); document.write( "=\"-1-1%2B2%28-1%29\"
\n" ); document.write( "=-1-1-2
\n" ); document.write( "=-4
\n" ); document.write( "
\n" );