w^2+2w+1

(a+b)^2 = a^2 + 2ab + b^2