2/sqrt(5)*arctan((3tan(x/2)+2)/sqrt(5))