The opposite side of a right angle triangle is the side facing the angle.
For angle B, the opposite side is 12;
The hypothenus side of a right angle triangle is the longest side of the triangle;
That is hypotenus equals 13;
The third side is called the adjacent and it is equal to 5;
Then, we apply the SOH CAH TOA concept to solve the problem;
[tex]\begin{gathered} \text{tan B=}\frac{opposite}{adjacent} \\ \text{tan B=}\frac{12}{5} \end{gathered}[/tex][tex]\begin{gathered} \sin \text{ B=}\frac{opposite}{hypotenus} \\ \sin \text{ B=}\frac{12}{13} \end{gathered}[/tex][tex]\begin{gathered} \cos \text{ B=}\frac{adjacent}{hypotenuse} \\ \cos \text{ B=}\frac{5}{13} \end{gathered}[/tex]