(sigh) You should've just posted this back in your original thread, but since the diagram is here I'll do it here.

The perimeter is the distance around the rectangle. So

where and .

So what is the perimeter?

The area of a rectangle is , and you know this is 40. So:

Thus

-Dan