Airtable interview question

Given table data, write a function that does this.