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