How do you solve cotx=cosx in the interval 0<=x<=2pi?