Esmeralda has a magnet in the shape of a square. Each side of the magnet is 3 inches long. What is the perimeter of her magnet?​