how do you calculate the area of a triangular prism?

how do you calculate the area of a triangular prism?