Pergunta de entrevista da empresa MPC

How would you solve this 3D technical challenge?