Write $\cos(5x)$ as a function of $\cos(x)$, answer with a polynomial.
$$e^{i\cdot5x} = \cos(5x) + i\sin(5x)$$
$$\cos(5x) + i\sin(5x) = (\cos(x) + i\sin(x))^5$$
and using the binomial theorem I think the answer is the real part of the expansion but I fail to see it.
The answer is $16x^5-20x^3+5x$.