Hexagon interview question

Puzzles