You can put this solution on YOUR website! (1/1+cosx)+(1/1-cosx)=2csc^2=2/sin^2 x=2/(1-cos^2x)
common denominator on left is (1+cos x)(1-cos x) which is 1-cos^2 x
the numerator will become 1-cos x+1+cos x or 2
and the left side becomes 2/(1- cos^2 x)