Capital One interview question

How do you merge the data