\[x^{2} - 8x + 12 =\]
\[= x^{2} - 2x - 6x + 12 =\]
\[= x(x - 2) - 6 \cdot (x - 2) =\]
\[= (x - 2)(x - 6).\]