\(\Leftrightarrow\left(2cosx-\sqrt{3}\right)\left(2cosx-1\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}cosx=\frac{1}{2}\\cosx=\frac{\sqrt{3}}{2}\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}x=\pm\frac{\pi}{3}+k2\pi\\x=\pm\frac{\pi}{6}+k2\pi\end{matrix}\right.\)