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