I'm going to assume you mean the rectangular garden width is 8 feet less than twice the length:
W = 2L-8
2W+2L = 20
2(2L-8) + 2L = 20
4L - 16 + 2L = 20
6L = 36
L = 6
W = 2L-8
W = 2(6)-8
W = 12-8
W = 4
Therefore, the dimensions of the rectangular garden are 6ft x 4ft.
Hope this helped!