How do I calculate the length of a fence to surround a pool in the

shape of a rectangle at a distance of 5 feet from the pool.

The price of the fence will then be calculated at $2 per foot.

I know that I have to use the formula perimeter of a rectangle is 2L + 2W.. But how to I account for the distance of 5 feet from the pool

say L=2' and w=3' then the perimeter is 2(2)+2(3)=10' but how do I calculate the perimeter of the fence that is a distance of 5 feet from the pool??