Pergunta de entrevista da empresa Autodesk

A geometry problem with a follow-up question.