$(x+3)^3-x(3x+1)^2+(2x+1)(4x^2-2x+1)=28$
$\Leftrightarrow(x^3+9x^2+27x+27)-x(9x^2+6x+1)+(8x^3-4x^2+2x+4x^2-2x+1)-28=0$
$\Leftrightarrow x^3+9x^2+27x+27-(9x^3+6x^2+x)+(8x^3+1)-28=0$
$\Leftrightarrow x^3+9x^2+27x+27-9x^3-6x^2-x+8x^3+1-28=0$
$\Leftrightarrow3x^2+26x=0$
$\Leftrightarrow x(3x+26)=0$
$\Leftrightarrow\left[\begin{matrix} x=0\\ 3x+26=0\end{matrix}\right.$
$\Leftrightarrow\left[\begin{matrix} x=0\\ 3x=-26\end{matrix}\right.$
$\Leftrightarrow\left[\begin{matrix} x=0\\ x=-\dfrac{26}{3}\end{matrix}\right.$
Vậy $x=0$ hoặc $x=-\dfrac{26}{3}$