A trapezoid has an area of 24 in.2. If the lengths of the bases are 5.8 in. and 2.2 in., what is the height?