The base of a rectangular prism is a square with a side length of   feet. If the prism is 3 feet tall, how many cubic feet are in the rectangular prism?