a: \(\left(x-2\right)^3+6\left(x+1\right)^2-\left(x-2\right)\left(x^2+2x+4\right)\)
\(=x^3-6x^2+12x-8-x^3+8+6x^2+12x+6\)
\(=24x+6\)
b: \(\left(x+5\right)\left(x^2-5x+25\right)-\left(x+2\right)\left(x^2-2x+4\right)\)
\(=x^3+125-x^3-8\)
=117
c: Ta có: \(\left(x+y\right)\left(x^2+xy+y^2\right)\left(x-y\right)\left(x^2-xy+y^2\right)\)
\(=\left(x^3+y^3\right)\left(x^3-y^3\right)\)
\(=x^6-y^6\)