For an integer $ k \ge 0$ and a scalar $x \in \mathbb R$, define $$ \begin{split} A_k(x) &:= \frac{1}{2\pi}\int_{-\pi}^\pi (\cos y + x)^{2k}dy,\\ B_k(x) &:= \frac{1}{2\pi}\int_{-\pi}^\pi (\cos y + x)^k(\sin y + x)^kdy,\\ C_k(x) &:= \frac{1}{2\pi}\int_{-\pi}^\pi\cos y (\cos y + x)^k(\sin y + x)^{k-1}dy \end{split} $$
Question. How to obtain analytic formulae for $A_k(x)$, $B_k(x)$, and $C_k(x)$ ?
Attempt
Let's attempt to compute $A_k(x)$ (since it looks the least intimidating). By Newton's binomial theorem, one can write $A_k(x) = \sum_{j=0}^k {2k\choose 2j} I_j(x) x^{2k-2j}$, where $$ I_j(x) := \frac{1}{2\pi}\int_{-\pi}^\pi (\cos y)^{2j} dy=\frac{1}{2\pi}\int_0^{2\pi}(\cos y)^{2j}dy = \frac{1}{2^{2j}}{2j \choose j}, $$
Putting things together gives $$ A_k(x) = \sum_{j=0}^k{2k\choose 2j}{2j\choose j}2^{-2j}x^{2k-2j} = (2k)!\sum_{j=0}^k \frac{1}{(j!2^j)^2}\frac{x^{2k-2j}}{(2k-2j)!} = \ldots $$ and I don't know how to go from here (though it looks like the coefficient of a certain order term in a series expansion).
$$ A_k(x) = x^{2k} \sum_{j=0}^{k} \begin{pmatrix} 2k \\ 2j \end{pmatrix} \begin{pmatrix} 2j \\ j \end{pmatrix} \left( \frac{1}{2x} \right)^{2j} $$
Consider the sum
$$ \Omega(x,k)= \sum_{j=0}^{2k} \begin{pmatrix} 2k \\ j \end{pmatrix} \begin{pmatrix} 2j \\ j \end{pmatrix} \left( \frac{1}{2x} \right)^{j} $$
It's interesting to note that
$$ A_k(x) = \frac{1}{2} x^{2k} \left( \Omega(x,k) + \Omega(-x,k) \right) $$
So I'm not going to focus on trying to sum this omega:
$$ \Omega(x,k)= \sum_{j=0}^{2k} \begin{pmatrix} 2k \\ j \end{pmatrix} \begin{pmatrix} 2j \\ j \end{pmatrix} \left( \frac{1}{2x} \right)^{j} $$
If you let $s = 2k$ ,$ u = \frac{1}{2x}$ then this is the same as
$$ \sum_{j=0}^{s} \begin{pmatrix} s \\ j \end{pmatrix} \begin{pmatrix} 2j \\ j \end{pmatrix} u^j $$
I'm like 99% sure this has a closed form. ill let you know if i find something.
So there's a closed form in terms of hypergeometric functions. I'm ab it surprised its not more elementary than this:
https://www.wolframalpha.com/input/?i=Sum%5B++%28k+choose+n%29*%282*n+choose+n%29*x%5En%2C+n+%3D+0+to+k%5D