The roots of polynomial $ p(x) $ are:
$$ \begin{aligned}x_1 &= 2.9461\\[1 em]x_2 &= -1.4731+2.5514i\\[1 em]x_3 &= -1.4731-2.5514i \end{aligned} $$Step 1:
Combine like terms:
$$ 7x^3 \color{blue}{-172} \color{blue}{-7} = 7x^3 \color{blue}{-179} $$Step 2:
Polynomial $ 7x^3-179 $ has no rational roots that can be found using Rational Root Test, so the roots were found using qubic formulas.