Calculate the geometric properties of a prism with base a regular polygon.