Pergunta de entrevista da empresa Autodesk

How would you solve the following problem? (question relates to maths and geometry)