Answer:
L = W = 26 ft.
Step-by-step explanation:
Let the length of the garden is L and the width is W.
area of garden , A = L x W
675 = L x W ... (1)
Costing is minimum when the perimeter is minimum.
Perimeter, P = 2 ( L + W)

For maxima and minima, differentiate perimeter with respect to L.

It should be zero for maxima and minima
L² = 675
L = 26 ft
W = 675/26 = 26 ft
Now,

It is positive, so the costing is minimum.
So, length and width of the garden is 26 ft.