When solving a trigonometric equation, the preliminary goal is to isolate the trigonometric function on one side of the equation.
Here to solve the trigonometric equation there are standard algebraic techniques like collecting like terms and isolating the trigonometric function is used.
For eg,
Here is isolated from the rest of the equation.