Answer:
You can follow the following method, there are other ways to do this too.
Step-by-step explanation:
Taking RHS,
(cosx-sinx+cosx+sinx)/(cos^2x-sin^2) [Taking LCM of den.]
2cosx/cos2x
Taking LHS,
sin2x/cos2x*1/sinx
2sinxcosx/cos2x*1/sinx
2cosx/cos2x