\(=\left(x^2-2x+1\right)-\left(y^2-2yz+z^2\right)\)
\(=\left(x-1\right)^2-\left(y-z\right)^2\)
\(=\left(x-1-y+z\right)\left(x-1+y-z\right)\)
\(x^2-2x+1-y^2+2yz-z^2\)
\(=\left(x-1\right)^2-\left(y-z\right)^2\)
\(=\left(x-1-y+z\right)\left(x-1+y-z\right)\)