Answer:
Let's represent the width of the flag with 'w'. Then, according to the problem, the length would be 'w + 90'.
We know that the perimeter of a rectangle is given by:
P = 2(length + width)
Substituting the values from the problem, we get:
500 = 2(w + w + 90)
Simplifying, we get:
250 = 2w + 90
2w = 160
w = 80
So, the width of the flag is 80 feet.
And the length of the flag would be:
w + 90 = 80 + 90 = 170 feet.