Draw a right triangle in the second quadrant that looks
like this: $\ \ \ \ \lower6pt{ \llap{opp\ }|\nwarrow \rlap{\ hyp}\over adj}$
Since $\cos X=-5/13$, the hypotenuse, $hyp$, of that triangle has length 13 and the horizontal leg, $adj$, has length 5.
The Pythagorean Theorem will tell you that the length of the vertical side, $opp$, of the triangle is $\sqrt{169-25}=\sqrt{144}=12$.
So our triangle is $\ \ \ \ \lower6pt{ \llap{12\ }|\nwarrow \rlap{\ 13}\over 5}$
Now read the trig ratios from the triangle, attaching the appropriate sign. For example, $\tan X= {\rm opp.\over adj}=-12/5$. The negative sign is needed since $\tan$ is negative in the second quadrant. The other trig ratios I'll leave to you.
You also need to do the above for a triangle in the third quadrant (since $\cos$ can be negative there).