\(2sinx-1=0\Leftrightarrow sinx=\dfrac{1}{2}\)
\(\Leftrightarrow\left[{}\begin{matrix}x=\dfrac{\pi}{6}+k2\pi\\x=\dfrac{5\pi}{6}+k2\pi\end{matrix}\right.\)
Do \(x\in\left(-\dfrac{\pi}{2};\pi\right)\Rightarrow x=\left\{\dfrac{\pi}{6};\dfrac{5\pi}{6}\right\}\)