Cadence Design Systems interview question

One puzzle