\[(x - 1)\left( x^{2} + x + 1 \right) - x^{2}(x - 1) = 0\]
\[(x - 1)\left( x^{2} + x + 1 - x^{2} \right) = 0\]
\[(x - 1)(x + 1) = 0\]
\[x = \pm 1.\]
\[Ответ:x = \pm 1.\]