Let $u(x,y)=x+y^2, v(x,y)=y^2 x$ and $h(x,y)=f(g(u(x,y),v(x,y)))$, where $f,g$ are differentiables.
Further $g(0,-1)=4,\frac{df(4)}{dx}=2,\frac{\partial h(-1,1)}{\partial y}=\frac{\partial h(-1,1)}{\partial x}=-8$.
Find the equation of the plane tangent to the graph of $g$ at the point $(0,-1,4)$.
I'm confused about how to apply the chain rule in the $h(x,y)$ function.
I'm also a student studying this but I'll give it my best shot. The function $h$ might be visually explained by the following:
When differentiating a bunch of nested functions as above, you use the single-variable chain rule for each function in the diagram with one "child" and the multivariable chain rule for each function with multiple children. We basically recursively go down this diagram, applying the correct chain rule to $f$, then $g$, and so forth, if there were more nested functions.
Since we are finding the tangent plane, we'll need two vectors. If you can get the $x$- and $y$-partial derivatives of $g$, then you'll pretty much be done — the vectors spanning the plane will be $\langle 1, 0, g_x(0, -1) \rangle$ and $\langle 0, 1, g_y(0, -1) \rangle$.
Applying the single-variable chain rule to $f(x)$, we get
$$h_x(x, y) = f'(g(u(x,y),v(x,y))){\partial \over \partial x}\left[g(u(x,y),v(x,y))\right]$$
which, after applying the multivariable chain rule to $g$, becomes
$$f'(g(u(x,y),v(x,y)))\left[g_x(u(x,y),v(x,y))u_x(x,y) + g_y(u(x,y),v(x,y))v_x(x,y)\right].$$
Looks hefty, but we can simplify. Notice they gave you $g$ evaluated at $(0, -1)$, so we want to pick $x$ and $y$ that will give $u(x, y) = 0$ and $v(x, y) = -1$. $(-1, 1)$ will do the trick, as indicated by the input they gave you for $\partial h \over \partial x$.
$$u_x(x, y) = 1; v_x(x, y) = y^2 = 1$$ $$u(-1, 1) = 0; v(-1, 1) = -1$$ $$h_x(-1, 1) = f'(g(0,-1))\left[g_x(0,-1)u_x(-1,1) + g_y(0,-1))v_x(-1,1)\right]$$ $$-8 = f'(4)\left[g_x(0,-1) + g_y(0,-1)\right]$$ $$-4 = g_x(0,-1) + g_y(0,-1)$$
Now do the same by partially deriving with respect to $y$. You'll have a linear system of two equations with $g_x$ and $g_y$ unknown, which can be solved by eliminating one of the variables and plugging back in.
For the final answer, the vectors spanning the plane will then be $\langle 1, 0, g_x(0, -1) \rangle$ and $\langle 0, 1, g_y(0, -1) \rangle$. So the equation of the plane will be of the form
$$p(s, t) = \langle 0, -1, 4 \rangle + s\langle 1, 0, g_x(0, -1) \rangle + t\langle 0, 1, g_y(0, -1) \rangle$$