How does the volume of a rectangular prism compare to that of a square pyramid with the same base area and height?

one-third of the volume
one-half of the volume
twice the volume
triple the volume