A ditch used to drain storm water has the shape of a trapezoid with the wider base being 24 feet and the height being 6 feet. The shorter base has an unknown length of x-feet. Set up and solve an equation to find the value of x if the drainage ditch as an area of 96 square feet.