Here is how I would have done this question:

1.

2. That means your equation becomes:

3. Factor out 2sin(x):

4. A product equals zero if one of the factors equals zero:

5. For the 2nd equation use the substitution . So you have to solve for u:

which yields 2 positive solutions. Use them to determine x.