contestada

Consider a square and a regular hexagon (a 6-sided figure with sides of equal length). One side of the square is 4 feet longer than a side of the hexagon, and the two figures have the same perimeter. What are the lengths of the sides of each figure?