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