factorize x^2+2x+1
Let's factorize in : x2 + 2x + 1
Result:   (x + 1)2