Find the perimeter and area of this polygon.
The graph shows a polygon with a rectangle at the bottom and a triangle on top of it. The base of the triangle overlaps the top base of the rectangle. For the rectangle, its base is 17 ft, and its height is 12 ft. For the triangle, its height is 9 ft, both its left side and right side are 9 ft.
Its perimeter is and its area is .
(Use ft for feet and ft^2 for square feet.)

You can earn partial credit on this problem.