Puzzle Solution

Last edition’s puzzle comes courtesy of UK Maths Trust who are selecting some of their UK Maths Challenge Questions for their problem of the week: https://ukmt.org.uk/new-problem-of-the-week