We are given that \( 5f(x) = 8 \), so
\[
f(x) = \frac{8}{5}
\]
We also know that \( f(2x) = \frac{2}{2 + x} \). Set \( \frac{2}{2 + x} = \frac{8}{5} \) and solve for \( x \):
\[
\frac{2}{2 + x} = \frac{8}{5}
\]
Cross-multiply:
\[
2 \times 5 = 8 \times (2 + x)
\]
\[
10 = 16 + 8x
\]
\[
8x = -6
\]
\[
x = \frac{-3}{2}
\]
Thus, the value of \( x \) is \( \frac{-3}{2} \).