It is not my own homework and I forgot how to solve this kind of things. Anyway, the following are the statement of the homework and my attempts:
The homework:
Let $w=e^{2i\pi/7}$, $u=w+w^2+w^4$, and $v=w^3+w^5+w^6$.
1) Calculate $u+v$ and then write $u^2$ in function of $u$.
2) Prove that $\mathrm{Im}(u)>0$.
3) Calculate the sum: $\sin(2\pi/7)+\sin(4\pi/7)+\sin(6\pi/7)$.
My attempts:
1) $u+v=w+w^2+w^4+w^3+w^5+w^6=w(1+w+w^2+w^3+w^4+w^5)$.
Hence, $u+v=w\dfrac{1-w^6}{1-w}=\dfrac{w-w^7}{1-w}=\dfrac{w-1}{1-w}=-1$.
Since $u+v=-1$ then $u^2+uv=-u$, so let's calculate $uv$.
$uv=(w+w^2+w^4)(w^3+w^5+w^6)=2w^7+w^4(1+w+w^2+w^3+w^4+w^5)$.
Then, $uv=2+w^3\dfrac{w-w^7}{1-w}=2-w^3$.
Hence, $u^2=-u-2+w^3$.
I do not know how to prove that $\mathrm{Im}(u)>0$.