We are given the following formula for the surface area of a prism:

"f" is the area of the front face, in this case, the front face is a rectangle, the area of a rectangle is given by the product of its base and its height. For the front face rectangle, its base is 8cm and its height is 4 cm, therefore, "f" is equal to:
![f=(8\operatorname{cm})(4\operatorname{cm})=32\text{ cm}^2]()
Now, for "t", the area of the top face, is also a rectangle with a base of 8 cm and a height of 3 cm, therefore its area is:
![t=(8\operatorname{cm})(3\operatorname{cm})=24\text{ cm}^2]()
For "r", we have a base of 3cm and a height of 4cm, therefore, the area is:
![r=(3\operatorname{cm})(4\operatorname{cm})=12\text{ cm}^2]()
Replacing in the formula for the area of the prism, we get:

Solving the operations in the parenthesis, we get:

Solving the sum
