General Solutions To Trigonometric Equations