Sam is building a rectangular garden in his backyard. The length of the garden is 8 yards, and the width is 5 yards. Sam wants to put a fence around the entire garden to keep it safe. What is the perimeter of the garden in yards?
To calculate the perimeter of a rectangle, you can use the formula:
$$P = 2(L + W)$$
where $$L$$ is the length and $$W$$ is the width.