\(\left(2-x\right)^3+\left(3+x\right)\left(9-3x+x^2\right)+6x\left(1-x\right)=17\\ \Leftrightarrow8-3.2^2.x+3.2.x^2-x^3+3^3+x^3+6x-6x^2-17=0\\ \Leftrightarrow x^3-x^3+6x^2-6x^2-12x+6x=17-27-8\\ \Leftrightarrow-6x=-18\\ \Leftrightarrow x=\dfrac{-18}{-6}=3\\ Vậy:x=3\)