I want to write $\cos(3x)\cos^2(x)$ as $\cos(3x)\cos^2(x)=\Sigma a_n\sin(n(x+\frac{\pi}{2}))$ where $n\in \mathbb{N}$.
I've tried to use some trigonometric identities such as $\cos(3x)=\cos(x)(2\cos(2x)-1)$ in order to get $\cos(3x)\cos^2(x)=\cos^3(x)(2\cos(2x)-1)=\frac{1}{4}(3\cos(x)+3\cos(3x))(2\cos(2x)-1)$
However, I'm stuck because here. (My idea is to get all in terms of cosine and then use $\cos(x)=\sin(x+\frac{\pi}{2})$).
I don't know how to continue (maybe my approach is wrong), I've tried other aproaches such as $\cos(3x)\cos^2(x)=\cos(3x)(1-\sin^2(x))$ without getting any result.