Name things.
Let’s do a problem similar to #6.
Problem.
The area of a rectangle is [imath]y^2 + 4y - 21[/imath], and the width is [imath]y + 7[/imath].
What is the height of the rectangle?
Solution.
We know as a matter of general information that
[math]W = \text {rectangle’s width, } H = \text {rectangle’s height, and} A = \text = \text {rectangle’s area} \implies[/math]
[math]A = W * H \implies H = \dfrac{A}{W}.[/math]
So in this specific case [imath]H = \dfrac{y^2 + 4y - 21}{y + 7} = \dfrac{(y + 7)(y - 3)}{y + 7} = y - 3.[/imath]
What is confusing you here is that you are not getting a specific number for an answer. So what?