Factoring and Polynomial Equations