Hint: $\displaystyle \cos{(2x)} = 2\cos^2{x} - 1$ and $\displaystyle \cos{(3x)} = 4\cos^3{x} - 3\cos{x}$.