J.P. Morgan Interview Question

Walk me through how you would solve XYZ