EY Interview Question

Ill update here if I go through the next step