## Chain rule for partial derivatives

How would I evaluate $\frac{\partial^2 (f \circ g)}{\partial x_i \partial x_j}$?

If $i=j$ then it's fine, I would just use second order normal chain rule, but what would I do here?

Thanks.