Blue Yonder interview question

Some equations about Unix and SQL.