Since it involves an absolute value, I assume I need to split it into two cases? For $ 0 \le x \le \pi $
$$ \int_{0}^{\pi} e^{-x} \sin x\,dx $$
and for $ \pi \le x \le 2\pi $
$$ \int_{\pi}^{2\pi} e^{-x} \cdot(-\sin x)dx$$
I don't really know where to go from here. I've tried to integrate both of these, but I always end up with the wrong answer.