\[x^{2} - 12x - 45 =\]
\[= (x - 15)(x + 3)\]
\[= x^{2} + 3x - 15x - 45\]
\[= x² - 12x - 45 \Longrightarrow ч.т.д.\]