The ratio of the sides of a triangle are 3 : 4 : 6. The longest side has a length of 30 cm. What is the length of the shortest side?