How derived Gini coefficient?

Can you answer this question?