$f(5x) = \frac{{5x}}{{5x + 5}} = \frac{x}{{x + 1}}$
Given, $y = \frac{x}{{x + 5}}$
$\therefore y.x + 5y = x$
$ \Rightarrow x = \frac{{5y}}{{1 - y}}$
Now, $f(5x) = \frac{x}{{x + 1}} = \frac{{\frac{{5y}}{{1 - y}}}}{{\frac{{5y}}{{1 - y}} + 1}}$
$ = \frac{{5y}}{{4y + 1}} = g(y)$