Here is another solution based on Dirichlet kernel
Lemma: $\sum _{k=-n} ^{n} e^{ikx} = 1 + 2 \sum _{k=1} ^{n} cos(kx) = \frac{sin((n+1)/2)}{sin(x/2)}$
Proof:
It's direct application for series sum $\sum _{k=-n} ^{n} x^k$, and Euler celebrated identity $e^{ix} = cos(x) + i sin(x)$, see wikipedia entry for full proof see wikipedia's entry
Now:
put $ x = \frac{u}{2} \Rightarrow dx = \frac{1}{2}du$
$\frac{1}{2} \int \frac{\sin 2u}{\sin \frac{u}{2}} dx = \int (1 +2 \sum _{k=1} ^{1} cos(ku)) dx = u - 2 sin(u) $
Note: This method works for any positive integer $n$ in $\int \frac{sin(2nx)}{sin(x)}$