Blue Yonder Interview Question

Some equations about Unix and SQL.