\(\frac{sina+sin3a+sin2a}{cosa+cos3a+cos2a}=\frac{2sin2a.cosa+sin2a}{2cos2a.cosa+cos2a}=\frac{sin2a\left(2cosa+1\right)}{cos2a\left(2cosa+1\right)}=\frac{sin2a}{cos2a}=tan2a\)
\(cos^2\left(a-\frac{\pi}{4}\right)-sin^2\left(a-\frac{\pi}{4}\right)=cos\left(2a-\frac{\pi}{2}\right)\)
\(=cos\left(\frac{\pi}{2}-2a\right)=sin2a\)