\(\dfrac{1+cos2a-sin2a}{1+cos2a+sin2a}=\dfrac{2cos^2a-2sina.cosa}{2cos^2a+2sinacosa}\)
\(=\dfrac{2cosa\left(cosa-sina\right)}{2cosa\left(cosa+sina\right)}=\dfrac{cosa-sina}{cosa+sina}=\dfrac{\sqrt{2}sin\left(\dfrac{\pi}{4}-a\right)}{\sqrt{2}cos\left(\dfrac{\pi}{4}-a\right)}=tan\left(\dfrac{\pi}{4}-a\right)\)
\(\dfrac{1+cos2a-cosa}{sin2a-sina}=\dfrac{2cos^2a-cosa}{2sina.cosa-sina}=\dfrac{cosa\left(2cosa-1\right)}{sina\left(2cosa-1\right)}=\dfrac{cosa}{sina}=cota\)