A rectangular photograph is surrounded by a border that is 1 inch wide on each side. The total area of the photograph and the border is M square inches. If the border had been 7 inches wide on each side, the total area would have been (M + 264) square inches. What is the perimeter of the photograph, in inches? Choose the correct option.
A) 8
B) 12
C) 16
D) 20
E) 24
Let x and y be the width and length of the photograph.   (x+2)(y+2)=M and so (1) xy + 2x + 2y + 4 = M   (x+14)(y+14)=M and so (2) xy + 14x + 14y + 196 = M+264   Let's subtract equation (1) from equation (2).   12x + 12y + 192 = 264   2x + 2y = 12, which is the perimeter of the photograph.   The answer is 12.
<result>B</result>
A rectangular photograph is surrounded by a border that is 1 inch wide on each side. The total area of the photograph and the border is M square inches. If the border had been 7 inches wide on each side, the total area would have been (M + 264) square inches. What is the perimeter of the photograph, in inches?