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

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

Thanks.