[tex]\frac{sinB(1+cosB) + tanB(1-cosB)}{1-cos^{2}B} \\\\
\frac{sinB+ sinBcosB + tanB - sinB}{sin^{2}B} \\\\
\frac{sinBcosB + tanB}{sin^{2}B} \\\\
\frac{sinBcosB}{sin^{2}B} + \frac{tanB}{sin^{2}B} \\\\
cotB + \frac{\frac{sinB}{cosB}}{sin^{2}B} \\\\
cotB + \frac{\frac{1}{cosB}}{sinB} \\\\
cotB + {\frac{1}{cosBsinB}} \\\\
cotB + cscBsecB[/tex]