First you would find what angle they want, which in this case it is X.
SinX=opposite/hypotenuse
CosX=adjacent/hypotenuse
Now the side that is opposite to X would be the root of 119, the side that is adjacent would be 5. Filling these two things into the equations we now have.
SinX=root of 119/hypotenuse
CosX=5/hypotenuse
All we need now is to find the hypotenuse, which is always the longest side length. So we can now fill 12 in for the hypotenuse.
the opposite is because it is directly across from the angle X, the adjacent is 5 because it is adjacent to the angle X, and the hypotenuse is 12 because the line that is always the longest angle that is tilted, basically the distance between two angles.