For volume of a prism, the general rule is multiply the area of the base by the area of the height. For example, for a triangular prism, the volume would be (1/2)b*h*a if you set a = height of the prism and h = height of the triangle from the formula (1/2)bh, which is the area of a triangle.