The roots of polynomial $ p(x) $ are:
$$ \begin{aligned}x_1 &= -0.289\\[1 em]x_2 &= -1.7708\\[1 em]x_3 &= 1.0093+0.3206i\\[1 em]x_4 &= 1.0093-0.3206i\\[1 em]x_5 &= -0.4794+1.8042i\\[1 em]x_6 &= -0.4794-1.8042i \end{aligned} $$Polynomial $ x^6+x^5+x^4-x^3-7x^2+5x+2 $ has no rational roots that can be found using Rational Root Test, so the roots were found using Newton method.