How is percent profit calculated?

Can you answer this question?