The total perimeter is 3*(18+9+4.5+...)
18+9+4.5... is a geometric series 18/(2^n) where n is 0 to infinity.
The sum of an infinite geometric series xr^0+xr^1+xr^2+...xr^n+... converges to a certain value which is x/(1-r). In this case x=18 and r=1/2. So the sum is 18/(1/2) = 18*2 =36.
The total perimeter is 3*36 = 108 cm.