Let us assume that the dimension of each square is 1 unit by 1 unit
The figure is a rectangle. The formula for determining the perimeter of a rectangle is expressed as
Perimeter = 2(length + width)
By counting the squares,
length = 7 * 1 = 7 units
width = 2 * 1 = 2 units
Perimeter = 2(7 + 2)
Perimeter = 18 units