The area of the rectangular school garden is 24 square units. The length of the garden is 8 units. What is the length of the fence needed to enclose the entire garden?