A pyramid has a square base that measures 36 inches in each side. The height of the pyramid is 22 inches. What is the volume of the pyramid