Calculate volumes and surface areas of prisms.