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