a) \(\sin x = \frac{{\sqrt 2 }}{2}\;\; \Leftrightarrow \sin x = \sin \frac{\pi }{4}\;\;\;\; \Leftrightarrow \;\left[ {\begin{array}{*{20}{c}}{x = \frac{\pi }{4} + k2\pi }\\{x = \pi - \frac{\pi }{4} + k2\pi }\end{array}} \right.\;\;\;\; \Leftrightarrow \left[ {\begin{array}{*{20}{c}}{x = \frac{\pi }{4} + k2\pi }\\{x = \frac{{3\pi }}{4} + k2\pi }\end{array}\;\left( {k \in \mathbb{Z}} \right)} \right.\;\)
b)
\(\begin{array}{l}\sin 3x = - \sin 5x\;\;\;\\\; \Leftrightarrow \,\,\,\sin 3x + \sin 5x = 0\;\;\;\;\;\;\\ \Leftrightarrow \,\,\,2\sin 4x\cos x = 0\;\end{array}\)
\( \Leftrightarrow \left[ {\begin{array}{*{20}{c}}{\sin 4x = 0}\\{\cos x = 0}\end{array}\;\;\;\; \Leftrightarrow \left[ {\begin{array}{*{20}{c}}{\sin 4x = \sin 0}\\{\cos x = \cos \frac{\pi }{2}}\end{array}} \right.\;\;\;\;\;\; \Leftrightarrow \left[ {\begin{array}{*{20}{c}}{4x = k\pi }\\{x = \frac{\pi }{2} + k\pi }\end{array}\;\left( {k \in \mathbb{Z}} \right)} \right.} \right.\)