It's a bit hard to tell what you wrote in your attempt. A good first step might be to write the csc's in the left-hand side in terms of sin's. That gives you
A good next step would then seem to be to multiply the top and bottom of the quotient on the left by sin(x).
The next step is over to you!