Rectangular prism:
2lw + 2lh + 2wh = A
Triangular prism (with the sides of the triangle as a, b, and c, and the area of the base triangle as B):
2 * B + b * h + a * h + c * h = A
6.4m questions
8.4m answers