# Need help evaluating the integral $\int_{-\pi}^{\pi} \dfrac{x \sin x\ dx}{1- 2a \cos x + a^2}$ where $0 < a < 1$. [duplicate]

Need help evaluating the complex integral $\int_{-\pi}^{\pi} \dfrac{x \sin x\ dx}{1- 2a \cos x + a^2}$ where $0 < a < 1$.