The roots of polynomial $ p(x) $ are:
$$ \begin{aligned}x_1 &= 0.0521\\[1 em]x_2 &= -0.2892+0.7047i\\[1 em]x_3 &= -0.2892-0.7047i\\[1 em]x_4 &= -0.5702+2.2785i\\[1 em]x_5 &= -0.5702-2.2785i \end{aligned} $$Polynomial $ 6x^5+10x^4+40x^3+21x^2+18x-1 $ has no rational roots that can be found using Rational Root Test, so the roots were found using Newton method.