Factoring a quadratic by the ac-method