Pergunta de entrevista da empresa EY

Question was pretty tricky in accounting section