Answer: The formula for the area of a trapezoid is A = (b1+b2)h/2, where b1 and b2 are the lengths of the bases, and h is the height. We can rearrange this formula to solve for the sum of the bases:
2A/h = b1 + b2
Substituting the given values, we get:
2(24)/6 = b1 + b2
48/6 = b1 + b2
8 = b1 + b2
Therefore, the sum of the lengths of the bases is 8 feet.