Nya is building a garden in her yard. She has 24 ft of fencing for her garden and wants it to be in the shape of a rectangle with a length of 3 ft. What does the width need to be for this to work

To find the width of the garden, we can use the formula for the perimeter of a rectangle:

Perimeter = 2(length + width)

We know that the length is 3 ft, so we can substitute this value into the formula and replace the perimeter with the given length of fencing, which is 24 ft:

24 = 2(3 + width)

Now, let's simplify the equation:

24 = 6 + 2width

Subtract 6 from both sides:

24 - 6 = 2width

18 = 2width

Divide both sides by 2:

9 = width

Therefore, the width of the garden needs to be 9 ft for it to work with 24 ft of fencing.