how do you calculate area triangular prism

how do you calculate the area of a triangular prism?