so.. .to get the cosine from that, all we need is the "hypotenuse" or radius in that angle
now.... keep in mind that, there are two likely quadrants where the opposite and adjacent sides, or x and y, are both positive, or both negative
I and II quadrants, so on those two quadrants, the tangent will be positive, since both numerator an denominator have the same sign
but I gather in this case, it may be assumed is the first quadrant, namely, that is 2/5 as opposed to -2/-5, so the adjacent side is positive