The sides of the rectangle are in the ratio 2:1. The perimeter is 30 cm. calculate the measure of all the sides.