The sum of the square of a positive number and the square of 2 more than the number is 10. What is the number?