The lengths of the sides of a triangle are in the extended ratio 8 : x : 9 : x : 10. The perimeter of the triangle is 108 cm. What are the lengths of the sides?
a) 32 cm, 36 cm, 40 cm
b) 28 cm, 36 cm, 44 cm
c) 24 cm, 36 cm, 48 cm
d) 20 cm, 36 cm, 52 cm