For this you can start by making a drawing
Since the perimeter is the sum of all the sides of a geometric figure then you would have

On the other hand, since the length of the rectangular garden is 5 feet less than twice the width, then

Now, with (1) and (2) you have a system of linear equations. To solve it you can use the elimination method, like this

Finally to find the value of y, you can replace the value of x in (1) or in (2). For example in (1)

Therefore, the dimensions of the rectangular garden are 35 feet length and 20 feet width.