If two pyramids have the same height, what must be true of the pyramids for them to also have the same volume?

The pyramids must have the same base shape.
The pyramids must have the same slant height.
The areas of the bases must be the same.
The pyramids must be identical in size and shape.