Solve in R :
You can therefore write .
Now solve for using the fact that if sin A = sin B then:
where n is an integer.
Now that you know the values of x for which you should be able to write down the intervals over which .
(drawing a graph might help ....)