\[x^{2}(x - 3) - 2x(x - 3) + (x - 3) =\]
\[= (x - 3)\left( x^{2} - 2x + 1 \right) =\]
\[= (x - 3)(x - 1)^{2}\text{.\ }\]