\(sin3x=cos\left(x+3\right)\)
\(\Leftrightarrow cos\left(x+3\right)=cos\left(\frac{\pi}{2}-3x\right)\)
\(\Leftrightarrow\left[{}\begin{matrix}x+3=\frac{\pi}{2}-3x+k2\pi\\x+3=3x-\frac{\pi}{2}+k2\pi\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}x=-\frac{3}{4}+\frac{\pi}{8}+\frac{k\pi}{2}\\x=\frac{3}{2}+\frac{\pi}{4}+k\pi\end{matrix}\right.\)