x(x+2y)-(x+2)^2+2x
=x²+2xy-(x²+4x+4)+2x
=x²+2xy-x²-4x-4+2x
=2xy-2x-4
=2x(y-1)-4
∵x=2,y=-1/2
∴原式=2×2×(-1/2-1)-4
=2×2×(-3/2)-4
=-6-4
=-10
x(x+2y)-(x+2)^2+2x
=x²+2xy-(x²+4x+4)+2x
=x²+2xy-x²-4x-4+2x
=2xy-2x-4
=2x(y-1)-4
∵x=2,y=-1/2
∴原式=2×2×(-1/2-1)-4
=2×2×(-3/2)-4
=-6-4
=-10