You can take the arctangent of both sides.

This question looks like it's missing something, however, because we're not told if theta has to be in some interval of values, like . For example, if we're told that theta can be any real number (where tangent is defined), then I would have to state the answer as (k is an integer).