Now we want to get rid of that and we also want in the denominator. Divinding by should fix that. Recall that we have to do the same thing to both sides of the equation.

So you were correct!

============================

EDIT: An even easier way...

Divide by cos both sides.