The formula p = 2i + 2w means that the perimeter of a rectangle is equal to twice the sum of its length and its width.

Solve p = 2i + 2w for i