Begin with your known values. Call the perimeter P and the area A. Suppose that P = 100 and A = 400.
Divide the perimeter in half. Call this Q. In the example, Q = 50.
Square the perimeter, designated by the letter Q. In the example, Q^2 = 50*50 = 2,500.
Multiply the area A by four. In the example, 400*4 = 1,600.
Subtract the result in step 4 from the result in step 3. In the example, 2,500 - 1,600 = 900.
Take the square root of this result. In the example, the square root of 900 equals 30.
Subtract this result from Q and divide by 2. In the example, 50 - 30 = 20, and 20/2 = 10. This is the width of the rectangle.
Add the result from Step 6 to Q and divide by 2. In the example, 50 + 30 = 80, and 80/2 = 40. This is the length of the rectangle.
Check your answer. 40*10 = 400, which is the area that was given, and 40 + 40 + 10 + 10 = 100, which is the perimeter that was given.