Factoring a quadratic
To factor a quadratic, find two numbers that multiply to give the constant term and add together to give the coefficient of the middle term.
A worked example
Factor x^2 + 7x + 12. The two numbers multiplying to 12 and adding to 7 are 3 and 4, so the expression factors to (x + 3)(x + 4).
The mistake people actually make
Always check the signs carefully, because for x^2 - 7x + 12 both numbers must be negative, giving (x - 3)(x - 4).