In order to calculate the surface area, first let's calculate the area of the pentagon that is the base of the prism.
To do so, let's divide it in a rectangle and triangle. The rectangle has dimensions 15 ft by 9 ft, and the triangle has base 15 ft and other two sides of 8 ft.
The area of the rectangle is given by:

And the area of the triangle can be calculated with Heron's formula:
![\begin{gathered} A_t=\sqrt[]{p(p-a)(p-b)(p-c)} \\ p=(15+8+8)/(2)=15.5 \\ A_t=\sqrt[]{15.5(15.5-15)(15.5-8)(15.5-8)} \\ A_t=20.88 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/j34pxnvyhvdcxnk0lb46onko57cit6bt68.png)
So the pentagon area is:

The areas of each lateral rectangular face is:

So the surface area of the prism is:

The volume can be calculated as the base area multiplied by the height of 30 ft:

The amount of glass needed to cover the greenhouse is:

So the amount of glass needed is 1020 ft².