Some blocks are stacked as shown. If the face of each block is a square and each block represents one cubic unit, what is the surface area of the figure formed by the blocks?
A. 30 square units
B. 28 square units
C. 24 square units
D. 21 square units