6) Ta có: \(x^2+2xy+y^2-x-y-12\)
\(=\left(x+y\right)^2-\left(x+y\right)-12\)
\(=\left(x+y-4\right)\left(x+y+3\right)\)
7) Ta có: \(\left(x+2\right)\left(x+3\right)\left(x+4\right)\left(x+5\right)-24\)
\(=\left(x^2+7x+10\right)\left(x^2+7x+12\right)-24\)
\(=\left(x^2+7x\right)^2+22\left(x^2+7x\right)+120-24\)
\(=\left(x^2+7x\right)^2+22\left(x^2+7x\right)+96\)
\(=\left(x^2+7x+6\right)\left(x^2+7x+16\right)\)
\(=\left(x+1\right)\left(x+6\right)\left(x^2+7x+16\right)\)
8) Ta có: \(4x^4-32x^2+1\)
\(=4x^4+12x^3+2x^2-12x^3-36x^2-6x+2x^2+6x+1\)
\(=2x^2\left(2x^2+6x+1\right)-6x\left(2x^2+6x+1\right)+\left(2x^2+6x+1\right)\)
\(=\left(2x^2+6x+1\right)\left(2x^2-6x+1\right)\)
9) Ta có: \(3\left(x^4+x^2+1\right)-\left(x^2+x+1\right)^2\)
\(=3\left[x^4+2x^2+1-x^2\right]-\left(x^2+x+1\right)^2\)
\(=3\left(x^2-x+1\right)\left(x^2+x+1\right)-\left(x^2+x+1\right)^2\)
\(=\left(x^2+x+1\right)\left(3x^2-3x+3-x^2-x-1\right)\)
\(=\left(x^2+x+1\right)\left(2x^2-4x+2\right)\)
\(=2\left(x-1\right)^2\cdot\left(x^2+x+1\right)\)