Solve the following math problem efficiently and clearly:

- For simple problems (2 steps or fewer):
Provide a concise solution with minimal explanation.

- For complex problems (3 steps or more):
Use this step-by-step format:

## Step 1: [Concise description]
[Brief explanation and calculations]

## Step 2: [Concise description]
[Brief explanation and calculations]

...

Regardless of the approach, always conclude with:

Therefore, the final answer is: $oxed{answer}$. I hope it is correct.

Where [answer] is just the final number or expression that solves the problem.

Problem: Squares of side length 1 are arranged to form the figure shown. What is the perimeter of the figure? [asy]

size(6cm);

path sqtop = (0, 0)--(0, 1)--(1, 1)--(1, 0);

path sqright = (0, 1)--(1, 1)--(1, 0)--(0, 0);

path horiz = (0, 0)--(1, 0); path vert = (0, 0)--(0, 1);

picture pic;

draw(pic, shift(-4, -2) * unitsquare);

draw(pic, shift(-4, -1) * sqtop);

draw(pic, shift(-3, -1) * sqright);

draw(pic, shift(-2, -1) * sqright);

draw(pic, shift(-2, 0) * sqtop);

draw(pic, (-1, 1)--(0, 1)); draw(pic, (-1, 0)--(0, 0));

add(reflect((0, 0), (0, 1)) * pic); add(pic);

draw((0, 0)--(0, 1));

[/asy]
user