d(Xg