PASCAL 2021 Problem 4

In the diagram, squares of side length 1 meet each other at their vertices. The perimeter of the figure is

Image

Answer Choices
A. 14
B. 20
C. 24
D. 28
E. 32