What is the formula for the lateral area of a prism, pyramid, and what is the slant height?