The roots of polynomial $ p(x) $ are:
$$ \begin{aligned}x_1 &= 0.8028+0.2157i\\[1 em]x_2 &= 0.8028-0.2157i\\[1 em]x_3 &= -0.8216+0.2958i\\[1 em]x_4 &= -0.8216-0.2958i\\[1 em]x_5 &= 0.0187+1.0889i\\[1 em]x_6 &= 0.0187-1.0889i \end{aligned} $$Polynomial $ 8x^6-7x^2-x+5 $ has no rational roots that can be found using Rational Root Test, so the roots were found using Newton method.