IMC Trading Interview Question

see homework assignment mentioned above