Pyramid volume

How are the pyramid volume V and the product S.h (the base surface area multiplied by the pyramid altitude) related? Is this result true in general? Within the Cabri 3D software version, you could construct a pyramid based on a non-regular polygon and check it.

To manipulate the construction, download Cabri 3D plug-in

Download the figure