Interra Systems interview question

Some logical reasoning later on.