How do you solve 3(cosx-1)=3-4cosx in the interval 0<=x<=2pi?