A square and an equilateral triangle have the same perimeter. Each side of the triangle is 16 m. How do you find the length of each side of the square?