It's hard to know where you messed up without seeing your work, but I would try the substitution:
and the integral becomes:
Can you proceed from here?
ok so to get the 2 you need to plug the 0 to the equation 1+cosx and that gives you 2. to get the 3/2 you plug in pi/3 to the same formula and that gives you 3/2. the reason that the 2 and the 3/2 switch is because there is a negative in the front and that is a rule.