Simplification of Trigonometric Equations