Đáp án:
a)
$\left(x-1\right)^3+\left(2-x\right)\left(4+2x+x^2\right)+3x\left(x+2\right)=17$
$\Leftrightarrow x^3-3x^2+3x-1+8-x^3+3x^2+6x=17$
$\Leftrightarrow9x+7=17$
$\Leftrightarrow9x=10$
$\Leftrightarrow x=\frac{10}{9}$
b)
$\left(x+2\right)\left(x^2-2x+4\right)-x\left(x^2+2\right)=15$
$\Leftrightarrow x^3+8-x^3-2x=15$
$\Leftrightarrow-2x=7$
$\Leftrightarrow x=-\dfrac{7}{2}$