e: Ta có: \(\left(x-7\right)\left(x^3+5x^2-2x+1\right)\)
\(=x^4+5x^3-2x^2+x-7x^3-35x^2+14x-7\)
\(=x^4-2x^3-37x^2+15x-7\)
f: Ta có: \(\left(x+y\right)\left(2x^2-3xy+y^2\right)\)
\(=2x^3-3x^2y+xy^2+2x^2y-3xy^2+y^3\)
\(=2x^3-x^2y-2xy^2+y^3\)
g: Ta có: \(\left(x-2\right)\left(x^2-5x+1\right)-x\left(x^2+11\right)\)
\(=x^3-5x^2+x-2x^2+10x-2-x^3-11x\)
\(=-7x^2-2\)