The ratio of the sides of two similar regular octagons is 5:7. If the measure of each side of the larger octagon is 21 cm, then the measure of each side of the smaller octagon is ________cm.