Hexagon interview question

Simple questions