Integrate[(1 + Sin[x])/(2 + Cos[x]), {x, 0, 2 Pi}]