\(\frac{1-2sin^2x}{1-tanx}=\frac{cosx\left(1-2sin^2x\right)}{cosx-sinx}=\frac{cosx\left(cos^2x-sin^2x\right)}{cosx-sinx}=\frac{cosx\left(cosx+sinx\right)\left(cosx-sinx\right)}{cosx-sinx}\)
\(=cosx\left(cosx+sinx\right)=\frac{cosx\left(cosx+sinx\right)^2}{cosx+sinx}=\frac{cos^2x+sin^2x+2sinx.cosx}{1+\frac{sinx}{cosx}}=\frac{1+sin2x}{1+tanx}\)
\(\frac{x}{2}=a\Rightarrow\frac{cot^2a-cot^23a}{cos^2a.cos2a\left(1+cot^23a\right)}=\frac{sin^23a\left(cot^2a-cot^23a\right)}{cos^2a.cos2a}=\frac{sin^23a.cot^2a-cos^23a}{cos^2a.cos2a}\)
\(=\frac{sin^23a.cos^2a-cos^23a.sin^2a}{sin^2a.cos^2a.cos2a}=\frac{\left(sin3a.cosa-cos3a.sina\right)\left(sin3a.cosa+cos3a.sina\right)}{sin^2a.cos^2a.cos2a}\)
\(=\frac{sin\left(3a-a\right).sin\left(3a+a\right)}{sin^2a.cos^2a.cos2a}=\frac{sin2a.sin4a}{sin^2a.cos^2a.cos2a}=\frac{2sina.cosa.4sina.cosa.cos2a}{sin^2a.cos^2a.cos2a}\)
\(=\frac{8sin^2a.cos^2a.cos2a}{sin^2a.cos^2a.cos2a}=8\)
\(sin\left(a+b+a\right)=5sin\left(a+b-a\right)\)
\(\Leftrightarrow sin\left(a+b\right)cosa+cos\left(a+b\right).sina=5sin\left(a+b\right).cosa-5cos\left(a+b\right).sina\)
\(\Leftrightarrow6cos\left(a+b\right).sina=4sin\left(a+b\right).cosa\)
\(\Leftrightarrow\frac{2sin\left(a+b\right)cosa}{cos\left(a+b\right)sina}=3\Leftrightarrow\frac{2tan\left(a+b\right)}{tana}=3\)