Factors quadratic expressions