You want to fence part of a yard to make a vegetable garden. How many feet of fencing do you need to surround the garden?

A composite figure is shown. The figure consists of a rectangle on the left and a triangle at the right. A width of the rectangle is labeled 14 feet, the length of the rectangle is 12 feet, and combined length of the figure is labeled 18 feet. The height and the hypotenuse of the triangle are labeled 8 feet and 10 feet respectively.

You need
feet of fencing to surround the garden.