I have found the two similar questions:
but don't know how to combine them properly.
I have
$x=[x_1,x_2]^T$
and
$F(x) = g(f_1(x), f_2(x)) = g(f_1(x_1,x_2), f_2(x_1, x_2))$
The goal is to compute $\frac{\partial F}{\partial x_1}$
My assumption is: $ \frac{\partial F}{\partial x_1} =\frac{F(x_1+h)-F(x_1-h)}{2h}=\frac{g(f_1(x_1+h,x_2),f_2(x_1+h,x_2))-g(f_1(x_1-h,x_2),f_2(x_1-h,x_2))}{2h}$, given the fact that $x_2$ is constant while $F$ is being differentiated by $x_1$.
Is this formula correct?