EY interview question

Case question with calculating profitability