An equilateral triangle has a perimeter of 18cm. What is the length of one of its sides?