Xét $ΔABC$ vuông tại $A$:
$\widehat B+\widehat C=90^\circ$
hay $\widehat B+30^\circ=90^\circ$
$→\widehat B=60^\circ$
Xét $ΔABH$ vuông tại $H$:
$\sin B=\dfrac{AH}{AB}$ hay $\sin 60^\circ=\dfrac{5}{AB}$
$↔\dfrac{\sqrt 3}{2}=\dfrac{5}{AB}\\↔AB=\dfrac{10\sqrt 3}{3}(cm)$
Vậy $AB=\dfrac{10\sqrt 3}{3}cm$