Solve: x^2 + 30 + 5x + 24 = 90

Simplify that by combining constants.

x^2 + 5x -36 = 0

Factor that equation to get

(x + 12)(x - 5) = 0

That should tell you what x must be. There are two possible values.