Hicham buys a rectangular sheet of plywood that measures 18 square meters. The sheet of plywood is 3 meters long. What is the perimeter of the sheet of plywood?

3w = 18

p = 2(w + 3w) = ____