factorize x^2-2x+1
Let's factor in : x2 -2x + 1
Answer:   (x -1)2