Question 1085539
Area of a parallelogram is bh (base times height).

(x+7) * h = x^2 + x - 42

h = (x^2 + x - 42)/(x-7)

Use polynomial long division or synthetic division to find that the result is (x+6)