The sum of two numbers is 24 and the product is 140, what are the two numbers? The answer is 10 and 14, but what is the formula to find? I used a chart.