We know that the length of a rectangle is twice its width. Then:
The area of a rectangle is the product of its width and length. Then:

Additionally, we know that the area is 162 in². Using the expression above we can obtain the value of x:

Finally, the perimeter (2P) is just twice the sum of the width and the length of the rectangle:
