The lid on a ceramic box is in the shape of a trapezoid. The area of the lid is 36 square inches. The bases of the lid are 5 inches and 7 inches. What is the height of the lid?