Solution:
Concept: 1−cos2x=2sin2x and sin2x=2sinxcosx; then look for a common bracket.
Step 1 — Rewrite with single angles.
L.H.S.=2sinxcosx+cosx2sin2x+sinx
Step 2 — Factorise top and bottom.
The top has a common factor sinx, the bottom a common factor cosx.
L.H.S.=cosx(2sinx+1)sinx(2sinx+1)
Step 3 — Cancel the common bracket (2sinx+1).
L.H.S.=cosxsinx=tanx
L.H.S. = R.H.S. Hence proved.