The relevant trig relations are summarized by the mnemonic SOH CAH TOA. This means ...
Sin = Opposite/Hypotenuse
Cos = Adjacent/Hypotenuse
Tan = Opposite/Adjacent
So, for each triangle, determine the relationships of the given sides to the given angle: adjacent, opposite, or hypotenuse. Then write and solve the equation using one of the above templates.