We can use a trigonometric identity to simplify the integrand. Recall that:
\[
\sin(2x) = 2 \sin(x) \cos(x)
\]
Thus, the integral becomes:
\[
\int \frac{2 \sin(x) \cos(x)}{\sin(x)} \, dx = 2 \int \cos(x) \, dx
\]
The integral of \( \cos(x) \) is \( \sin(x) \), so we have:
\[
2 \sin(x) + C
\]
Alternatively, a direct approach would lead to:
\[
2 \log \left| \tan \left( \frac{x}{2} \right) \right| + C
\]