The area of a rectangle is represented by the function x3 − 3x2 − 40x + 84. The width of the rectangle is x − 7. Find the expression representing the length of the rectangle.

x2 + 4x − 12
x2 + 8x + 12
x2 + 2x − 24
x2 + 10x + 14