You can put this solution on YOUR website! assuming that it's a rectangle:
width = w
length = l
w = l - 2
area = l * w
8 = l * (l - 2)
0 = (l - 4)*(l + 2)
l - 4 = 0 or l + 2 = 0
l = 4 or l = -2
because the length can't be in negative number, so:
length= 4 ft
width = l - 2 = 4 - 2 = 2 ft