The ratio of the perimeter of the boundary of the shaded portion to the perimeter of the whole figure is 3: 7.
From the figure, perimeter of shaded portion = 1 + 2 + 1 + 2 = 6 units
Perimeter of whole figure = 3 + 4 + 3 + 4 = 14 units
Then, ratio of the perimeter of the boundary of the shaded portion to the perimeter of the whole figure = 6/14
= 3/7
= 3: 7