Factorizing Quadratic Equations