Solving Quadratic Equations by Factoring