$\displaystyle (cos^2x)/(1+2sinx-3sinx)=(1+sinx)/(1+3sinx)$

The above is the trig identity, I'm sorry for not having in the proper fraction way but I couldn't figure out how to do it. And I'm dead tired for going away at this question for an hour. If anyone can help me out?