(2a-b)^2-(-a-1-b)(-a+b-1)+(a+1)^2
=4a^2-4ab+b^2-[(-a-1)^2-b^2]+(a+1)^2
=4a^2-4ab+b^2-(a+1)^2+b^2+(a+1)^2
=4a^2-4ab+2b^2
=4*1/4-4*1/2*(-2)+2*4
=1+4+8
=13
(2a-b)^2-(-a-1-b)(-a+b-1)+(a+1)^2
=4a^2-4ab+b^2-[(-a-1)^2-b^2]+(a+1)^2
=4a^2-4ab+b^2-(a+1)^2+b^2+(a+1)^2
=4a^2-4ab+2b^2
=4*1/4-4*1/2*(-2)+2*4
=1+4+8
=13