As the hint says, the arc is only part of the whole circle. More specifically, it is 90 degrees of the circle (90 / 360 = 1 / 4) or 1/4 of the circumference.
Circumference = pi x diameter
C = pi x 24 = 24pi
1/4 of C = 6pi
Answer: AB = 6pi
Hope this helps!