All the sides of the given figure are equal in length and has a perimeter of 24 cm. Find the length of one side (in cm).