Your are correct. You need to get the two trig functions in the same form (sin, cosine, sec, etc.), but at the moment I can't recall any useful trig identities.
hadeijv squared the whole equation, giving as topsquark says a bi-quadratic. This allowed himto use the ident [itex]\sin^2 x + \cos^2 x = 1[/itex] to remove the sin and just leave cosine function.
Yes, you are both working on the same problem and using the same equations. Looking at the other thread may give you some hints. Topsquark explained it well.