Pave interview question

Process this data and make these transformations