Treating \displaystyle 4x as one term, we can write
Vorlage:Displayed math
and since \displaystyle y^2 +2y+1=(y+1)^2 we obtain