First we need to find the hypotenuse using the Pythagorean theorem.
52 + 122 = hypotenuse2
25 + 144 = hypotenuse2
169 = hypotenuse2
13 = hypotenuse
sin A = side opposite A / hypotenuse = 12 / 13
cos A = side adjacent to A / hypotenuse = 5 / 13
sin B = side opposite B / hypotenuse = 5 / 13
tan A = side opposite A / side adjacent to A = 12 / 5
tan B = side opposite B / side adjacent to B = 5 / 12