4. (8 points) There is a rope. The first time it is folded in the way shown in the left figure, and the fold is marked (1); the second time it is folded in the way shown in the middle figure, and the folds are marked (2) and (3); the third time it is folded in the way shown in the right figure. If the distance between point (1) and point (3) in the right figure is 30 centimeters, then the total length of the rope is $\qquad$ 360 centimeters. (Assume there are no gaps between the rope segments, and the thickness of the rope and the loss at the bends are negligible).
【Solution】Solution: From the second figure, we know: the distances from (1) to (2), (1) to (3), (2) to the end, and (3) to the end are all equal; from the third figure, we know that the rope from (2) to the end is divided into 3 equal parts,

Since the distances from (1) to (2) and from (3) to the end are equal, each part is 30 centimeters,
then the length of the rope from (2) to the end is $30 \times 3=90$ (centimeters),
the total length of the rope is $90 \times 4=360$ (centimeters).
Answer: The total length of the rope is 360 centimeters.
Therefore, the answer is: 360.
4. (8 points) There is a rope. The first time we fold it in the way shown in the left figure, and mark the fold (1); the second time we fold it in the way shown in the middle figure, and mark the folds (2) and (3); the third time we fold it in the way shown in the right figure. If the distance between point (1) and point (3) in the right figure is 30 cm, then the total length of the rope is $\qquad$ cm. (Assume there are no gaps between the rope segments, and the thickness of the rope and the loss at the bends are negligible).



The translation preserves the original text's line breaks and formatting.