Rewrite the perimeter formula, P = 2l + 2w, to solve for the length, l, and then use this formula to find the length of a rectangle whose width is 7 inches and perimeter is 42 inches.