Step 1 — group the LHS as a difference of two squares.
LHS=(tanθ+secθ−1)(tanθ+secθ+1)=(tanθ+secθ)2−1
Step 2 — expand.
=tan2θ+2tanθsecθ+sec2θ−1
Use sec2θ−1=tan2θ:
=2tan2θ+2tanθsecθ=2tanθ(tanθ+secθ)
Step 3 — write in terms of sinθ and cosθ.
=2⋅cosθsinθ⋅cosθsinθ+1=cos2θ2sinθ(1+sinθ)
Step 4 — replace cos2θ and cancel.
cos2θ=1−sin2θ=(1−sinθ)(1+sinθ)
LHS=(1−sinθ)(1+sinθ)2sinθ(1+sinθ)=1−sinθ2sinθ=RHS
Hence proved.
Check with θ=30∘: tan30∘=31 and sec30∘=32, so tanθ+secθ=3 and LHS =(3)2−1=2; RHS =1−212×21=2. ✓