Each intermediate variable contributes its partial of \(f\) times its derivative with respect to \(s\): \(f_xx_s+f_yy_s\). The option with \(t\) differentiates with respect to the other parameter.
The chain rule for \(z=f(x,y)\), with \(x=x(t)\) and \(y=y(t)\), gives the derivative of the composition as the sum of what each intermediate variable contributes: its partial of \(f\) times its own derivative.