Factoring quadratics with leading coefficient other than 1