Answer:
the requirements are missing:
- express the height of the rectangle in terms of w
- express the area of the rectangle in terms of w
1) the height of the rectangle is:
w + h + h + w = 500 + w
2w + 2h = 500 + w
2h = 500 + w - 2w = 500 - w
h = (500 - w) / 2 = 250 - 0.5w
2) the are of the rectangle is:
w x h = w x (250 - 0.5w) = 250w - 0.5w²