How to solve $\sin 2x \sin x+(\cos x)^2 = \sin 5x \sin 4x+(\cos 4x)^2$? How to solve $\sin 2x \sin x+(\cos x)^2 = \sin 5x \sin 4x+(\cos 4x)^2$?
\begin{align*}
2\cos x(\sin x)^2+(\cos x)^2 & = \frac{1}{2}(\cos x- \cos 9x) +(\cos 4x)^2\\
4\cos x(1-(\cos x)^2)+2(\cos x)^2 & = \cos x + \cos 9x +(2(\cos 4x)^2-1)+1\\
\cos x(4(1-(\cos x)^2 + 2\cos x -1) & = \cos 9x + \cos 8x + 1
\end{align*}
I don't see any way to get rid of $8x$ and $9x$ as arguments to have same angles from there

You should be able to transform the equation into polynomial of $\cos(x)$.
For example, $\sin(2x)\sin(x)=2\sin^2(x)\cos(x)=2(1-\cos^2(x))\cos(x)$
