If he uses 100 inches of wood to make the frame, then 100 is double the sum of the length and the width, so 50 is the sum of the length and the width.
If the length is 12 more than the width, then the width is (50-12)/2=19. The length, then, is 19+12=31.