Let's see where the angle is first:
Angle theta will be in the yellow region. The angle in red is an example. For that angle, it's cosine is the proyection of the line that forms the angle over the x-axis and it's sine is the proyection over the y-axis. I'll add them in blue and green.
So the cosine is positive, and the sine is negative for that angle.
We can find the angle by using the inverse of the cosine:

But we have to be careful with this because the result will not be in the quadrant we want. The results of these operations are always in the first quadrant (between 0 and pi/2)
This one is:

To find the angle that is beween 3pi/2 and 2pi, we have to substract that angle from 2pi:

And with that angle we can calculate the sine:

(I solved it with a calculator so I don't miss decimals and get a more exact answer)
The tangent is the quotient between the sine and the cosine:
