\(\Leftrightarrow\left(2\sin x-1\right)\left(\cos x+\sin x+1\right)=0\)
\(\Leftrightarrow\begin{cases}\sin x=\frac{1}{2}\\\sin x+\cos x=-1\end{cases}\)
\(\Leftrightarrow\left[x=\frac{\pi}{6}+k2\pi;x=\frac{5\pi}{6}+k2\pi;x=-\frac{\pi}{2}+k2\pi;x=\pi+k2\pi\right]\)