Let therefore we can write the equation as:
If we do the back-substitution:
So if we define the solution set:
So we've solved the equation now there's nothing more to do and you don't have to worry about in which quadrant the function appears because that's the reason we define an infinite set of solutions.
If you want to be sure about the solution then take a look at wolphram alpha to compare.
Do you become the same result with the method The Chaz has given you?