find the volume of the following square pyramid. geometry hw

Given:
The square base pyramid with height 3 cm and base edge 2 cm.
To find:
The volume of the square pyramid.
Solution:
Volume of a square base pyramid is:
[tex]V=\dfrac{1}{3}Bh[/tex] ...(i)
Where, B is the base area and h is the height of the pyramid.
Base is a square with edge 2 cm, so the base area is:
[tex]B=a\times a[/tex]
Where, a is the edge of the square base.
[tex]B=2\times 2[/tex]
[tex]B=4[/tex]
Putting [tex]B=4,h=3[/tex] in (i), we get
[tex]V=\dfrac{1}{3}(4)(3)[/tex]
[tex]V=4[/tex]
Therefore, the volume of the given pyramid is 4 cm³.