This is the account of Shem’s family line. Two years after the flood, when Shem was 100 years old, he became the father of Arphaxad.
This is the account of Terah’s family line. Terah became the father of Abram, Nahor and Haran. And Haran became the father of Lot.
And after he became the father of Arphaxad, Shem lived 500 years and had other sons and daughters.