a^2 + a - 240

What about it? It is an polynomial, not an equation. You cannot solve for a.

You can factor it as (a + 16)(a - 15)