A pyramid has a square base with a side length of 6 feet. The volume of the pyramid is 144 cubic feet. What is the height, in feet, of the pyramid?

(Note: The volume of a pyramid with base area BB and height hh is 13Bh\frac{1}{3}Bh.)