The roots of polynomial $ p(x) $ are:
$$ \begin{aligned}x_1 &= \dfrac{ 3 \sqrt{ 65}}{ 13 }\\[1 em]x_2 &= -3 \dfrac{\sqrt{ 65 }}{ 13 } \end{aligned} $$Step 1:
Combine like terms:
$$ \color{blue}{x^2} \color{blue}{-14x^2} +45 = \color{blue}{-13x^2} +45 $$Step 2:
The solutions of $ -13x^2+45 = 0 $ are: $ x = -3 \dfrac{\sqrt{ 65 }}{ 13 } ~ \text{and} ~ x = \dfrac{ 3 \sqrt{ 65}}{ 13 }$.
You can use step-by-step quadratic equation solver to see a detailed explanation on how to solve this quadratic equation.