Because I'm going to be talking about x and y-coordinates, I'm going to use θ in place of x as the name of the angle. (So, assume cos x = cos θ.)
To answer your question, you just need to know that cos θ is the x coordinate of the point corresponding to the angle's position on the unit circle, and sin θ is the y-coordinate of the same point. Also, tan θ=(sin θ)/(cos θ).
The two quadrants on a regular graph (A "Cartesian Plane") where x is negative are the second and third quadrants, to the left of the y-axis. For the tangent of an angle to be negative, the sine and cosine of the angle need opposite signs, since dividing a positive by a negative or vice versa is the way to get a negative answer.
x and y have opposite signs in the second (x is negative, y is positive) and fourth (x is positive, y is negative) quadrants.
Since both the cosine and tangent of an angle are negative when its terminal side is in the second quadrant, that's the answer. QII.
If you're not familiar with how the quadrants work, look here: https://www.purplemath.com/modules/plane3.htm
Have fun with trig!