Double and Half Angles

Well, then use it, hence $2\sin x\cos x+\cos x=\cos x(2\sin x+1)=0,$ from here $\cos x=0$ or $2\sin x+1=0.$ Each one can be easily solved, do it.