What I did was trial and error. (There is a mathematical way to do this but...)
so you have 10*12 and that equals 120. That is the area of the photo. With the frame, the area is 288.
Increase each number as so:
11*13=143.......continue trial and error
16*18=288
answer: 16
Hope that helps!