A trapezoid’s longer base is three times the length of its shorter base. If the trapezoid has an area of 32 square feet and a height of 4 feet, what is the length of each base?