a) \(=x\left(x^2-2xy+y^2\right)=x\left(x-y\right)^2\)
b) \(=\left(x^2+2x\right)+\left(10x+20\right)=x\left(x+2\right)+10\left(x+2\right)=\left(x+2\right)\left(x+10\right)\)
c) đặt \(x^2+x+1=t\)
\(\left(x^2+x+1\right)\left(x^2+x+4\right)+2=t\left(t+3\right)+2=t^2+3t+2=\left(t^2+t\right)+\left(2t+2\right)=t\left(t+1\right)+2\left(t+1\right)=\left(t+1\right)\left(t+2\right)=\left(x^2+x+2\right)\left(x^2+x+3\right)\)