How is market share calculated?

Can you answer this question?