Hector paints a picture which is 10 inches longer than it is wide. When he frames it, the outside dimensions (that is the length
and the width) are each two inches longer. If the area of the picture with the frame is 40 sq inches more than the area of the picture without its frame, what is the length of the original painting?