The sons of Japheth were Gomer, Magog, Madai, Javan, Tubal, Meshech and Tiras.
References for Genesis 10:2
The sons of Gomer were Ashkenaz, Riphath and Togarmah.
The sons of Javan were Elishah, Tarshish, the Kittim and the Rodanites.
The people who lived by the sea came from all of them. Their tribes and nations spread out into their own territories. Each tribe and nation had its own language.