\(\Leftrightarrow2cos\left(x-\frac{\pi}{4}\right)+sin\left(x-\frac{\pi}{4}\right)=\frac{3\sqrt{2}}{2}\)
\(\Leftrightarrow\frac{1}{\sqrt{5}}sin\left(x-\frac{\pi}{4}\right)+\frac{2}{\sqrt{5}}cos\left(x-\frac{\pi}{4}\right)=\frac{3\sqrt{2}}{2\sqrt{5}}\)
Đặt \(\frac{1}{\sqrt{5}}=cosa\)
\(\Rightarrow sin\left(x-\frac{\pi}{4}+a\right)=\frac{3\sqrt{2}}{2\sqrt{5}}\)
\(\Leftrightarrow...\)