Ancestor by ancestor, as given in the biblical genealogies.
Who appears in the story just before and after this person (Before the Flood).
Gn 5:21When Enoch was 65, he had a son, Methuselah.
Gn 5:22After that, Enoch lived in fellowship with God for 300 years and had other children.
Gn 5:25When Methuselah was 187, he had a son, Lamech,
Gn 5:26and then lived another 782 years. He had other children
Gn 5:27and died at the age of 969.
People, family relations and passages: TIPNR, STEPBible (Tyndale House, Cambridge), CC BY 4.0. People in the deuterocanonical books: MARBLE names list, United Bible Societies (UBS).