Answer:
As a rule of thumb, if you know only the two shorter side, their ratio is the tangent of the angle opposed to the side you use as a numerator.
If you know one side and the hypotenuse, the ratio side/hypotenuse is either the sine of the opposite angle, or the cosine of the adjacent angle.