Moderate# Volume: Jack's Baseball Bat

GMAT-TYGX6F

Jack is packing a box with some of his favorite baseball equipment. His largest item is his custom-sized bat, which he wants to put into the box diagonally. The height and length of the box are equal to $2$ and $4$ respectively.

If the volume is $24$, what is the longest the bat can be and still fit in the box?