We know its area and its length
[tex]\begin{gathered} Area=\frac{x^2-4}{2x} \\ Length=\frac{(x+2)^2}{2} \end{gathered}[/tex]We know
Width · length = area
Let's call w: width, L: length and a: area
Then
[tex]\begin{gathered} w\cdot l=a \\ w=\frac{a}{l} \end{gathered}[/tex]Replacing the given information
[tex]\begin{gathered} w=\frac{\frac{x^2-4}{2x}}{\frac{(x+2)^2}{2}} \\ w=\frac{x^2-4}{2x}\cdot\frac{2}{\mleft(x+2\mright)^2} \\ =\frac{\mleft(x^2-4\mright)\cdot2}{2x\cdot\mleft(x+2\mright)^2} \\ =\frac{(x^2-4)}{x\mleft(x+2\mright)^2} \end{gathered}[/tex]We know that
[tex]x^2-4=(x-2)(x+2)[/tex]Replacing it in the equation of w
[tex]\begin{gathered} w=\frac{(x-2)(x+2)}{x(x+2)^2} \\ =\frac{(x-2)}{x(x+2)} \end{gathered}[/tex]