a, \(\dfrac{1-sin2a}{1+sin2a}\)
\(=\dfrac{sin^2a+cos^2a-2sina.cosa}{sin^2a+cos^2a+2sina.cosa}\)
\(=\dfrac{\left(sina-cosa\right)^2}{\left(sina+cosa\right)^2}\)
\(=\dfrac{2sin^2\left(a-\dfrac{\pi}{4}\right)}{2sin^2\left(a+\dfrac{\pi}{4}\right)}\)
\(=\dfrac{sin^2\left(\dfrac{\pi}{4}-a\right)}{sin^2\left(a+\dfrac{\pi}{4}\right)}\)
\(=\dfrac{cos^2\left(\dfrac{\pi}{4}+a\right)}{sin^2\left(\dfrac{\pi}{4}+a\right)}=cot\left(\dfrac{\pi}{4}+a\right)\)
b, \(\dfrac{sina+sinb.cos\left(a+b\right)}{cosa-sinb.sin\left(a+b\right)}\)
\(=\dfrac{sina+sinb.cosa.cosb-sinb.sina.sinb}{cosa-sinb.sina.cosb-sinb.cosa.sinb}\)
\(=\dfrac{sina.\left(1-sin^2b\right)+sinb.cosa.cosb}{cosa.\left(1-sin^2b\right)-sinb.sina.cosb}\)
\(=\dfrac{sina.cos^2b+sinb.cosa.cosb}{cosa.cos^2b-sinb.sina.cosb}\)
\(=\dfrac{\left(sina.cosb+sinb.cosa\right).cosb}{\left(cosa.cosb-sinb.sina\right).cosb}\)
\(=\dfrac{sin\left(a+b\right)}{cos\left(a+b\right)}=tan\left(a+b\right)\)