a: The length of an apothem of the base of the prism
n: The number of sides of the base of the prism
s: The length of a side of the base of the prism
h: The height of the prism
S: The surface area of the prism
To determine the formula for the surface area of any prism, find the sum of the areas of every face.