\[x^{2} - 9x + 18 = x^{2} - 3x - 6x + 18 =\]
\[= x \cdot (x - 3) - 6 \cdot (x - 3) =\]
\[= (x - 3) \cdot (x - 6).\]