You may have correctly added 24 to both sides to get , and then substituted , and into the Quadratic Formula:
But you mistakenly thought that was equal to .