Bài 3:
\(A=\left(x+2\right)\left(2x^2-3x+4\right)-\left(x^2-1\right)\left(2x+1\right)\\ =2x^3-3x^2+4x+4x^2-6x+8-\left(2x^3+x^2-2x-1\right)\\ =2x^3-3x^2+4x+4x^2-6x+8-2x^3-x^2+2x+1\\ =\left(2x^3-2x^3\right)+\left(-3x^2+4x^2-x^2\right)+\left(4x-6x+2x\right)+\left(8+1\right)=9\)
Câu B làm tương tự nhé

