J.P. Morgan interview question

Explain how you came to your solution.