The roots of polynomial $ p(d) $ are:
$$ \begin{aligned}d_1 &= 5.2688\\[1 em]d_2 &= -0.1344+1.8434i\\[1 em]d_3 &= -0.1344-1.8434i \end{aligned} $$Polynomial $ d^3-5d^2+2d-18 $ has no rational roots that can be found using Rational Root Test, so the roots were found using qubic formulas.