\(\left(x^2+x\right)^2+4x^2+4x-12\)
\(=x^4+2x^3+5x^2+4x-12\)
\(=x^4-x^3+3x^3-3x^2+8x^2-8x+12x-12\)
\(=x^3.\left(x-1\right)+3x^2.\left(x-1\right)+8x.\left(x-1\right)+12.\left(x-1\right)\)
\(=\left(x-1\right).\left(x^3+3x^2+8x+12\right)=\left(x-1\right).\left(x+2\right).\left(x^2+x+6\right)\)
p/s: sai sót bỏ qua