Final answer:
To find the length of the seam needed to sew along the edges of the pillow, use the formula for the perimeter of a rectangle: P = 2(l + w).
Step-by-step explanation:
To find the length of the seam needed to sew along the edges of the pillow, we need to find the perimeter of the pillow. The shape of the pillow looks like a rectangle, so we can use the formula for the perimeter of a rectangle, which is P = 2(l + w), where P is the perimeter, l is the length, and w is the width.
Since the length of the garden is given as 4 yards, and the width of the garden is also given as 4 yards, we can substitute these values into the formula: P = 2(4 + 4) = 2(8) = 16 yards.
Therefore, you will need a seam of length 16 yards to sew along the edges of the pillow.