If the length of each side of the following shape is 3 cm, what is the perimeter of 6 such shapes in cm?