For this case we have that by definition, the area of a rectangle is given by:

Where:
w: It is the width
l: It is the length
According to the data we have to:

Then l = \ frac {x ^ 3-3x ^ 2-40x + 84} {x-7}
According to the attached figure we have that the quotient is

So, the length is

Answer:
Option A