Cadence Design Systems interview question

Some logical reasoning questions.