Solve trigonometric equations by LCM and square identity, Trigonometry