HINT:
Using Prosthaphaeresis Formulas,
$$\sin x+\sin3x=2\sin\frac{3x+x}2\cos\frac{3x-x}2$$
We can also use $\sin x=\sin(2x-x),\sin3x=\sin(2x+x)$
Now $\sin y=0\implies y=n\pi$
and $\cos A=\cos B\implies A=2m\pi\pm B$ where $m,n$ are arbitrary integers