Factor z^2-2z+1