GMAT Problem Solving

Next steps

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 2 inches wide on each side, the total area would have been (M + 52) square inches. What is the perimeter of the photograph, in inches?