A trapezoid has a set of parallel bases with lengths 3 inches and 5 inches and a height of 8 inches. What is the area of the trapezoid?