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 5 inches wide on each side, the total area would have been (M + 144) square inches. What is the perimeter of the photograph, in inches?  Choose the correct choice from the following answers
A) 10 B) 12 C) 14 D) 16 E) 18
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+10)(y+10)=M and so (2) xy + 10x + 10y + 100 = M+144   Let's subtract equation (1) from equation (2).   8x + 8y + 96 = 144   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 5 inches wide on each side, the total area would have been (M + 144) square inches. What is the perimeter of the photograph, in inches?