The lateral area of a frustum of a regular triangular pyramid is 1,081cm^2, and the altitude and lateral edges are 24cm and 26cm, respectively. Find the lengths of the sides of the bases.