a,\(\left(x^2+x\right)2+3\left(x^2+x\right)+2\)
=\(\left(x^2+x\right)6+2\)
b,\(\left(x^2+x\right)2-2\left(x^2+x\right)-15\)
=\(-4\left(x^2+x\right)-15\)
c,\(\left(x^2+x+1\right)\left(x^2+x+2\right)-12\)
=\(\left(x^2+x+1\right)\left(x^2+x+1\right)+1-12\)
=\(\left(x^2+x+1\right)^2-11\)
d,\(\left(x^2+x\right)2+4x^2+4x-12\)
=\(x\left(x+1\right)2+2x\left(x+1\right)-12\)
=\(2x\left(x+1\right)+2x\left(x+1\right)-12\)
=\(\left(x+1\right)\left(2x+2x-12\right)\)
= \(\left(x+1\right)\left(4x-12\right)=4\left(x+1\right)\left(x-3\right)\)
e,\(\left(x^2+2x\right)2+9x^2+18x+20\)
=\(x\left(x+2\right)2+9x\left(x+2\right)+20\)
=\(2x\left(x+2\right)+9x\left(x+2\right)+20=\left(x+2\right)\left(2x+9x+20\right)\)
=\(\left(x+2\right)\left(11x+20\right)\)