The lengths of three sides of a triangle are in the ratio 3: 5:6. The perimeter of the triangle is 28 cm. Find the lengths of each side of the triangle.

Hint: x = 28 / (3 + 5 + 6)