\(\frac{sin^2a-cos^2a}{1+2sina.cosa}=\frac{\left(sina-cosa\right)\left(sina+cosa\right)}{sin^2a+cos^2a+2sina.cosa}=\frac{\left(sina-cosa\right)\left(sina+cosa\right)}{\left(sina+cosa\right)^2}\)
\(=\frac{sina-cosa}{sina+cosa}=\frac{\frac{sina}{cosa}-\frac{cosa}{cosa}}{\frac{sina}{cosa}+\frac{cosa}{cosa}}=\frac{tana-1}{tana+1}\)