Whenever you have a fraction that looks like that, try multiplying the top and bottom by the conjugate, which is the same expression except with the sign in the middle reversed. Multiply top and bottom by $$(1+\sin x$$) and see if anything looks familiar after you expand everything.