PLEASE ANSWER ASAP

In △XYZ, A is the midpoint of XY¯¯¯¯¯¯¯¯, B is the midpoint of YZ¯¯¯¯¯¯¯, and C is the midpoint of XZ¯¯¯¯¯¯¯¯.

AC = 7, AB = 5, and XY = 24. What is the perimeter of △XYZ?

Enter your answer in the box.