A rectangle is such that its area is $308 \,m^2$.
Its length is $8\, m$ longer than its width.
What is its length?
Let $x$ denote its width. Its length is then $x+8$ and $x$ satisfies
\begin{align} x(x+8)&=308\\ x^2+8x-308&=0\\ (x+22)(x-14)&=0\\ x=-22 \quad \text{or} \quad x&=14. \end{align}
We select the positive value of $x$, the width is $14\, m$, we have $14+8=22$, the length is $22\,m$.
Question. How do you interpret $x=-22$?
Consider the following problem: Find the rectangle with corners $(0,0),(x,0),(x,y),(y,0)$ such that its area is $308$ and $x=y+8$.
This leads to the equation
$$308=|x||y|=|xy|=|y(y+8)|.$$ Resolving the absolute value we get two equations $$y^2+8y-308=0,\quad y^2+8y+308 = 0.$$ The second one has no real root, so you are left with exactly the equation you encountered in your solution only that in this case the negative values for $x,y$ also make sense.