5x to the second+25x+30

That is an algebraic formula or exoression. It is not an equation. What is the question?

If you had written the equation
5x^2 + 25 x + 30 = 0, which is equivalent to
x^2 + 5x + 6 = 0,
the solutions would be x = -2 and x = -3.