Answer:
length is 6feet and width is 3 feet
Explanation:
Area of the garden = LW
Perimeter of the garden = 2(L+W)
L is the length
W is the width
Given
Area = 18 square feet
Perimeter = 18feet
Substitute
18 = LW ... 1
18 = 2(L+W)
9 = L+W .... 2
From 2;
L = 9-W
Substitute into 1
18 = (9-W)W
18 = 9W-W²
W²-9W+18 = 0
W²-6W-3W+18 = 0
W(W-6)-3(W-6) = 0
W-3 = 0
W = 3 feet
Since L = 9-W
L = 9-3
L = 6feet
Hence the length is 6feet and width is 3 feet