Pls help

The first step for finding the volume of a prism is to find the area of the base. How is this step different for rectangular prisms and triangular prisms?