What is the area of these two figures?

A rectangle with a length of 8 has the same area as a trapezoid. One base of the trapezoid is 3 and the other base is three times the height of the rectangle. The height of the trapezoid is two thirds of the height of the rectangle.