\(x^3+2x^2-2x-12=x^3-2x^2+4x^2-8x+6x-12\)
\(=x^2\left(x-2\right)+4x\left(x-2\right)+6\left(x-2\right)=\left(x-2\right)\left(x^2+4x+6\right)\)
\(x^3+2x^2-2x-12\)
\(=x^3-2x^2+4x^2-8x+6x-12\)
\(=x^2\left(x-2\right)+4x\left(x-2\right)+6\left(x-2\right)\)
\(=\left(x-2\right)\left(x^2+4x+6\right)\)
hk tốt
^^