I have two problems that I am not entirely sure how to

The first one is

(1/cosx-sinx)= cosx+sinx

Now I am not entirely sure how to this one but would I turn the right side into a fraction by placing one under it then cancelling it out?

My second question is

sinxcosx= 1/2

Would I do

sinxcosx-1/2=0 then what next as I am not sure how to proceed(Crying)