Cadence Design Systems interview question

Some puzzles