\(x^2-8x-9\)
\(=x^2+x-9x-9\)
\(=\left(x^2+x\right)-\left(9x+9\right)\)
\(=x\left(x+1\right)-9\left(x+1\right)\)
\(=\left(x-9\right)\left(x+1\right)\)
\(x^2-8x-9\)
\(=x^2+x-9x-9\)
\(=\left(x^2+x\right)-\left(9x+9\right)\)
\(=x\left(x+1\right)-9\left(x+1\right)\)
\(=\left(x-9\right)\left(x+1\right)\)