RGP Korea interview question

hypothetical question and simple calculation