Domanda di colloquio di MPC

How would you solve this 3D technical challenge?