Tesla Interview Question

combine two tables into one