To find the width of Nya's garden, we can use the perimeter formula for a rectangle, which is:
\[ P = 2 \times (length + width) \]
Given that the perimeter (P) is 24 feet and the length is 3 feet, we can substitute these values into the formula:
\[ 24 = 2 \times (3 + width) \]
Now, we can simplify the equation:
-
Divide both sides by 2: \[ 12 = 3 + width \]
-
Now, subtract 3 from both sides: \[ width = 12 - 3 \] \[ width = 9 \]
So, the width of the garden needs to be 9 feet for the fencing to work.
The correct response is 9.