Answer :
In the first figure,
△BCA
a = Perpendicular
b = base
c = hypotenuse
In the second figure,
△ABC
a = base
b = perpendicular
c = base
tan B = Perpendicular/Base = b/a
cos B = Base/Hypotenuse = a/c
cos A = Base/Hypotenuse = a/c
sin B = Perpendicular/Hypotenuse = b/c
tan A = Perpendicular/Base = a/b
sin A = Perpendicular/Hypotenuse = a/c