Final answer:
The width of the garden is 64 feet and the length is 256 feet.
Step-by-step explanation:
To find the dimensions of the garden, we can set up an equation based on the given information. Let's say the width of the garden is x feet. According to the problem, the length is 4 times the width, which means the length is 4x feet.
Now, we can use the perimeter formula to solve for the dimensions. The perimeter of a rectangle is given by the formula P = 2L + 2W. In this case, the perimeter is 640 feet. So, we have 2(4x) + 2x = 640. Solving this equation, we get 8x + 2x = 640, which simplifies to 10x = 640. Dividing both sides by 10, we find that x = 64.
Therefore, the width of the garden is 64 feet and the length is 4 times the width, so the length is 4 * 64 = 256 feet.