Evaluate $$\int_{-a\pi}^{a\pi} \frac{\cos^5(x)+1}{e^x+1}dx, \quad a \in \mathbb{N}$$
In the beginning, I didn't have any ideas of how to solve this. The one that later came to mind was to try using Feynman's technique, but I couldn't think of the proper function to use for the second variable.
Any ideas?