I have to show $$\int_0^{2\pi}\cos(n\phi')\cos^l(\phi-\phi')\mathrm{d}\phi=\frac{2\pi}{2^l}\cos(l\phi)\delta_{l,n}$$ where $l,n$ are positive integers such that $l\leq n$ I'm supposed to use the fact
$$ \int_0^{2\pi}e^{i(l-n)\phi}\mathrm{d}\phi=2\pi\delta_{l,n}$$
But I'm really lost. I tried to rewrite the cosines as the real part of $e^{in\phi}$ et cetera and trying to expand the power with the binomial theorem but it didn't work. I don't see any other way to obtain a useful way to use that identity. Any input will be appreciated