Answer:
When a prism has its bases facing up and down, the lateral area is the area of the vertical faces.
(For a rectangular prism, any pair of opposite faces can be bases.)
The lateral area of a right prism can be calculated by multiplying the perimeter of the base by the height of the prism.