integrate (2-cos(x))/(1+2cos(x))