I am not sure what your question is. You say "Let g(y) be a continuous derivateable function of y" and then ask "what is this g(y)?" Well, the only thing we can say is exactly what you told us- g(y) is some differentiable function- from what you tell us, it can beanycontinuous function.