The tangent of an angle (TOA in soh-can-toa) is the Opposite side of the angle, divided by the Adjacent side (the one next to it that isn’t the hypotenuse) so it would be a7/24.
And sin (soh) is the Opposite side divided by the Hypotenuse, so it would be b24/25