im using a different method: here goes!
cosx / (2-cosx) = - [-cosx / (2-cosx)]
= -[2-cosx - 2 / (2-cosx)]
= -[1 - 2/(2-cosx)] = 2/(2-cosx) - 1
now hopefully this is much better to integrate...will still have to use the 't' formula ==> will involve partial fractions, eventually lead onto logs.