Ta có: \(-x^2-2x+8\)
\(=-\left(x^2+2x-8\right)\)
\(=-\left(x^2+4x-2x-8\right)\)
\(=-\left[x\left(x+4\right)-2\left(x+4\right)\right]\)
\(=-\left(x+4\right)\left(x-2\right)\)
\(-x^2-2x+8\\ =-\left(x^2-4x-2x+8\right)\\ =-\left[x\left(x-2\right)-4\left(x-2\right)\right]\\ =-\left(x-2\right)\left(x-4\right)\)