How do you find the exact value of 5(costheta-1)=6+costheta in the interval 0<=theta<2pi?