solve the formula for the perimeter of a rectangle
P = 2l + 2w P - 2w = 2l (P - 2w)/2 = 2l/2 (P - 2w)/2 = l. L = (P - 2w)/2. I believe B is the correct solution.