Altium Limited interview question

On-site programming task, with a math question and follow-up discussion.