a: Ta có: \(x\left(x^2+x+1\right)-x^2\left(x+1\right)-x+5\)
\(=x^3+x^2+x-x^3-x^2-x+5\)
=5
b: Ta có: \(x\left(2x+1\right)-x^2\left(x+2\right)+x^3-x+3\)
\(=2x^2+x-x^3-2x^2+x^3-x+3\)
=3
c: Ta có: \(4\left(6-x\right)+x^2\left(3x+2\right)-x\left(5x-4\right)+3x^2\left(1-x\right)\)
\(=24-4x+3x^3+2x^2-5x^2+4x+3x^2-3x^3\)
=24