The area of a rectangle is 391 square units. Find the length and width of the rectangle.

[Graphs generated by this script: setBorder(5); initPicture(-4,5,-3,3);stroke="black";rect([-4,-2],[-3.5,-1.5]);rect([-4,-2],[3,3]);text([-1,-2.5],"x+4");text([4,0],"x-2");]

length =

width =

(Hint: the length is the longer side.)