Volumes of Pyramids and Cones