Intuit Interview Question

asked to solve a puzzle.