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