There are 3 trigonometric ratios:
Sine = opposite/hypotenuse,
Cosine = adjacent/hypotenuse and
tangent = opposite/adjacent
Since in the question we have not been given the hypotenuse, we calculate it first.
So, hypotenuse = √(12²+5²) = √(144+25) = √169 = 13.
Now we can find the trigonometric ratios;
Sin A = Cos B = 5/13
Sin B = Cos A = 12/13
Tan A = 5/12
Tan B= 12/5