Problem: 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 ?
Rationale: "let x and y be the width and length of the photograph . ( x + 2 ) ( y + 2 ) = m and so ( 1 ) xy + 2 x + 2 y + 4 = m ( x + 10 ) ( y + 10 ) = m and so ( 2 ) xy + 10 x + 10 y + 100 = m + 144 let ' s subtract equation ( 1 ) from equation ( 2 ) . 8 x + 8 y + 96 = 144 2 x + 2 y = 12 , which is the perimeter of the photograph . the answer is b ."
annotated_formula: divide(subtract(144, subtract(power(multiply(5, const_2), const_2), power(multiply(1, const_2), const_2))), const_2)