Problem 5. Three regular octagons have a common center, their sides are respectively parallel. The sides of two octagons are 7 cm and 42 cm. The third octagon divides the area of the figure enclosed between the first two in the ratio $1: 6$, counting from the smaller octagon. Find the side of the third octagon.