How do you factor the trinomial x^2-2x+1?