cos is adjacent/hypotenuse. So the adjacent side to the angle (one of the legs) is 5. Since this is quadrant II, it's -5. The hypotenuse is 13. You can find the other leg (opposite side) using the Pythagorean theorem where a and b are legs and h is the hypotenuse. This can be rearranged as
tan2c = -24/5 / (1-144/25) = -24/5 / (-119/25) = -24/5 * -25/119 = 120/119 = approximately 1.008