To find the length of the fence, find the perimeter of the rectangular area. The perimeter is the sum of all sides of the figure. In this case it would be the sum of 2 times the length and 2 times the width.
The total length of the fence Sandy will need is 34 feet.