A net of a rectangular pyramid is shown in the figure. A net of a triangular prism with base dimensions of 7 inches by 9 inches. The larger triangular face has a height of 8 inches. The smaller triangular face has a height of 8.5 inches. What is the surface area of the pyramid?