A metal stud for a warrior costume is in the shape of a square pyramid. The stud does not have a base.

A square pyramid has a square base with side lengths of 2, and 4 triangular sides with a height of 3.

How much metal is needed to make the stud?
8 square units
12 square units
16 square units
24 square units