An art class builds a square pyramid with sides 3 feet wide. The volume is 36 cubic feet. What is the height of the pyramid?

A. 12 feet

B. 3 feet