That's a reasonable attempt, but the problem is that if you multiply through by tan(t) then you'll have a cubic equation in tan(t), which doesn't look promising.

A better strategy would be to use the fact that . Then the original problem becomes . That's a quadratic in sec(t), which you should be able to solve.