BNP Paribas Interview Question

Mathematic question