USAA interview question

Asked me to solve basic logic questions