The sum of two numbers is -5, and the sum of the squares of the two numbers is 17. What are the two numbers? Explain your reasoning.