Merge row 2 with row 3, row 4 with row 5

Hi all,

I’ve performed data scraping on a site and it populated the data in a datatable below, I want them to be in same row but if it has 3 Phone numbers, 3 columns will need to be added

This is the extracted data
data1
Iwant the final result like this
data2

How can I do it?