Please look at the different answers. I wasn't 100% sure what your expression was.
Step-by-step explanation:
If you mean 2/(5x-1) then g(x) will take the fraction into account with a constant 2 for the numerator and a variable for the denominator since that is where our variable is so g(x)=2/x.
Now h(x)=5x-1 since if you plug in 5x-1 into 2/x where x is you will get our original expression.
Now if you did mean (2/5)x-1 I would take notice of where the variable is which is in (2/5)x so g(x)=x-1 where h(x)=(2/5)x since if you plug (2/5)x in place of the x in x-1 you will get the original.
Please let me know if I didn't interpret your expression correctly.