`(x^2 -9) -2x-6=0`
`<=> (x-3)(x+3) - (2x+6)=0`
`<=>(x-3)(x+3) - 2(x+3)=0`
`<=>(x+3)(x-3-2)=0`
`<=>(x+3) (x-5)=0`
\(\Leftrightarrow\left[{}\begin{matrix}x+3=0\\x-5=0\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}x=-3\\x=5\end{matrix}\right.\)