Pregunta de entrevista de Autodesk

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