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