How do I solve $$\int e^{\cos x}\cos(2x+\sin x)dx$$? This is a problem from the 2023 MIT Integration Bee semifinals. I thought that this integral would be solved by $u=e^{\cos x}$ but that doesn't work since we have $\cos(2x+\sin x)$ and not $\sin x$ next to $e^{\cos x}$. Other than that I am a bit lost.
Edit: Integral Calculator couldn't find the solution.
$\textbf{Hint}$:
$$2x + \sin x = x + (x+\sin x)$$
Which we can use to rewrite the integrand by trig identity:
$$e^{\cos x} \left(-\sin x \sin (x+ \sin x) + \cos x \cos(x + \sin x)\right)$$
where we would almost have product rule $(fg)'$ with $f =\exp(\cos x)$ and $g= \sin(x +\sin x)$. But the derivative of $g$ is actually
$$(\sin(x + \sin x))' = \cos(x+\sin x)\cdot(1+\cos x)$$
can you see a way to proceed from here and correct for the missing term?