Question 52697
{{{x-(y-1)^2+2(x^2+2x)}}}
Substitute -1 in for x and 2 in for y.  It helps to use parenthesese to keep the signs straight.
={{{(-1)-((2)-1)^2+2((-1)^2+2(-1))}}}
={{{-1-(1)^2+2(1-2)}}}
={{{-1-1+2(-1)}}}
=-1-1-2
=-4