Numbers Game #2

Given a number, take 1/3 of the number away from itself and also remove 2.  If this result is multiplied by itself, it equals the number plus 24.  What is the number?

Kitab fi al-jabr wa al-muqabala (Book of Algebra), Abu Kamil, c. 900

Click here to reveal the answer