The lengths of the sides of a triangle are in the extended ratio 8 : 9 : 10. The perimeter of the triangle is 108cm. What are the lengths of the sides?