How do you find the solution to #5costheta+1=8costheta# if #0<=theta<2pi#?