\(\dfrac{1+cos2x-sin2x}{cos2x}=\dfrac{1+2cos^2x-1-2sinx.cosx}{cos^2x-sin^2x}=\dfrac{2cosx\left(cosx-sinx\right)}{\left(cosx-sinx\right)\left(cosx+sinx\right)}\)
\(=\dfrac{2cosx}{cosx+sinx}=\dfrac{2}{\dfrac{cosx}{cosx}+\dfrac{sinx}{cosx}}=\dfrac{2}{1+tanx}\)