Solution of Quadratic Equations by Factoring