\(DKXD:\left\{{}\begin{matrix}\cos\left(2x+\frac{\pi}{8}\right)\ne0\\\sin\left(x-\frac{3\pi}{4}\right)\ne0\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}2x+\frac{\pi}{8}\ne\frac{\pi}{2}+k\pi\\x-\frac{3\pi}{4}\ne k\pi\end{matrix}\right.\)
\(pt\Leftrightarrow\tan\left(2x+\frac{\pi}{8}\right)=-\cot\left(x-\frac{3\pi}{4}\right)=\tan\left(x-\frac{3\pi}{4}+\frac{\pi}{2}\right)\)
\(\Leftrightarrow2x+\frac{\pi}{8}=x-\frac{3\pi}{4}+\frac{\pi}{2}+k\pi\)
\(\Leftrightarrow x=-\frac{3}{8}\pi+k\pi\)