A regular quadrilateral and a regular triangle have the same perimeter. The side length of one of the sides of the quadrilateral is 48. What is the length of a side of the triangle?