This question is from a 2012 VMK entrance exam
I was trying to solve it first by expanding $\sin 4 x = 2 \sin 2 x \cos 2x$, then by noticing that if divided by 2, one can get, e.g. $ \frac{\sqrt{3}}{2} \cos 3 x = \sin \frac{\pi}{6} \cos 3 x$ and then trying to find some way to obtain $\sin (a +b)$ or $\cos (a+b)$, but without any success.
I suspect there should be some adding an extra term and then multiplying out, but can't get my head around it.