Great, that sorts it
how do i decide on future problems what to divide by?
With fairly basic trig, you pretty much have less than 10 options total, and you can usually rule several of those out just by looking at what trig functions are being used. for example, in your problem you could have also divided by , but you would not have really wanted to use something like secant to tangent. You learn mostly with practice.