This is the history of the generations of Shem. Shem was 100 years old when he became the father of Arpachshad, two years after the flood.
Now this is the history of the descendants of Terah. Terah was the father of Abram, Nahor, and Haran; and Haran was the father of Lot.
And Shem lived after Arpachshad was born 500 years and had other sons and daughters.