J.P. Morgan interview question

Equalisation calculation