Determine and recall first the trigonometric functions:
Sin A = Opposite/Hypotenuse Cos A = Adjacent/Hypotenuse Tangent = Opposite/Adjacent
If for example we try to take an angle, for example the Y, then Y is opposite Y. The Hypotenuse will be the longer side which is going to denoted by X and the next side will be Adjacent which will be denoted by Z.