The roots of polynomial $ p(x) $ are:
$$ \begin{aligned}x_1 &= -\frac{ 21 }{ 10 }+\frac{ 3 \sqrt{ 31}}{ 10 }i\\[1 em]x_2 &= -\frac{ 21 }{ 10 }-3 \frac{\sqrt{ 31 }}{ 10 }i \end{aligned} $$The solutions of $ 5x^2+21x+36 = 0 $ are: $ x = -\dfrac{ 21 }{ 10 }+\dfrac{ 3 \sqrt{ 31}}{ 10 }i ~ \text{and} ~ x = -\dfrac{ 21 }{ 10 }-\dfrac{ 3 \sqrt{ 31}}{ 10 }i$.
You can use step-by-step quadratic equation solver to see a detailed explanation on how to solve this quadratic equation.