Prove that for any $n \in \mathbb{N}^*$ we have: $$\sin x \sin \left( x + \frac{\pi}{n} \right) \sin \left( x + \frac{2\pi}{n} \right)\cdots \sin \left( x + \frac{(n - 1)\pi}{n} \right) = \frac{\sin nx}{2^{n - 1}}$$
Here is what I did so far:
We know that $\sin x = \Im (e^{ix})$. So, we can rewrite our product the following way:
$\prod_{k = 1}^{n - 1} \sin \left( x + k\frac{\pi}{n} \right) = \prod_{k = 1}^{n - 1} \Im \left( e^{i \left( x + k\frac{\pi}{n} \right)} \right)$
At this point I got stuck, mainly because I'm not sure if I can take the $\Im$ of the whole product or not.
Thank you in advance!