Hey TWN.

Recall that tan(x) = sin(x)/cos(x) and that you can get the inverse of the argument of tan in the principal branch (-pi/2,pi/2) by using arc-tan.

For the second one you will need to go "deeper" in finding 5(theta)cos(theta) in terms of a constant and then finding theta from that.