Tesla interview question

combine two tables into one