A rectangular photograph is surrounded by a border that is 2 inch wide on each side. The total area of the photograph and the border is M square inches. If the border had been 4 inches wide on each side, the total area would have been (M + 94) square inches. What is the perimeter of the photograph, in inches? Choose the correct choice from the following options: A) 34 B) 36 C) 23 D) 40 E) 42

Rationale: "let length and breadth of photograph be l and b respectively . perimeter is given by 2 * ( l + b ) - - - - - ( 1 ) according to the question : ( l + 4 ) ( b + 4 ) = m - - - - ( 2 ) and ( l + 8 ) ( b + 8 ) = m + 94 - - - - - - - - - > ( l + 8 ) ( b + 8 ) - 94 = m - - - - - - ( 3 ) equating ( 2 ) and ( 3 ) ( l + 4 ) ( b + 4 ) = ( l + 8 ) ( b + 8 ) - 94 lb + 4 l + 4 b + 16 = lb + 8 l + 8 b + 64 - 94 simplify 4 l + 4 b = 46 - - - - - - > 2 ( l + b ) = 23 ( check eq ( 1 ) ) answer is c"
Answer: C