Shem had Elam, Asshur, Arphaxad, Lud, Aram, Uz, Hul, Gether, and Meshech.
Arphaxad had Shelah and Shelah had Eber. Eber had two sons: Peleg (Division) because in his time the earth was divided up; his brother was Joktan.
Joktan had Almodad, Sheleph, Hazarmaveth, Jerah, Hadoram, Uzal, Diklah, Ebal, Abimael, Sheba, Ophir, Havilah, and Jobab—all sons of Joktan.
The three main branches in summary: Shem, Arphaxad, Shelah, Eber, Peleg, Reu, Serug, Nahor, Terah, and Abram (Abraham). And Abraham had Isaac and Ishmael.