Solving Equations with Advanced Factoring