A rectangular frame has width 7 in. longer than its length. What is the width of the painting if its area is 18 in?

A)6 inches
B)2 inches
C)3 inches
D)9inches