How to integrate 1/(1+sinx)?

I'm currently learning Trigonometric Functions and need help with solving two questions:

#int# #1/(1+sinx)# #dx# = ?

#int# #1/(1+cos2x)# #dx# = ?

Thanks!