MPC Interview Question

How do you solve the problem?