1. From a rectangular sheet of paper with dimensions $54 \mathrm{~cm}$ and $15 \mathrm{~cm}$, Marko cuts out the largest possible square. From the remaining piece of paper, he again cuts out the largest possible square and continues the process until the entire sheet is cut into squares, i.e., until the remaining piece of paper is also a square. What is the sum of the perimeters of all the squares thus obtained?