# I was taught the 'product-sum method' in school. The sum of the two numbers you use is b, and the product is c (from x^2+bx+c)