This really doesn't make much sense. You don't calculate the derivative of a function with respect to some other function, but you do calculate the derivative of a function with respect to one of its variables. Here g is a function, not a variable, so df/dg is nonsensical.
For another thing, both functions here have multiple variables, so instead of df/dx, df/dy, and df/dz, you would be working with partial derivatives,
\frac{\partial f}{\partial x}, \frac{\partial f}{\partial y}, \text{and} \frac{\partial f}{\partial z}
Other notation for these partials is fx, fy, and fz.