Here we do not see any difference of two squares. Now x2+4x can be completed to a square by adding 4 to it. Thus
x2+4x+1=x2+2(2)(x)+22−22=(x+2)2−4
(we added 22=4 and subtracted the same quantity so that nothing is changed) Hence
x2+4x+1=(x+2)2−4+1=(x+2)2−3=(x+2)2−(√3)2
The important point to be noted here is that 3 is the square of another real number √3. Now we are in a familiar situation. We obtain
x2+4x+1=(x+2)2−(√3)2=(x+2+√3)(x+2−√3)