The Cainite line in Genesis 4 runs to Naamah.
The seventh generation Lamech descended from Cain
is described as the father of Jabal and Jubal [from his first wife Adah]
and Tubal-cain and Naamah [from his second wife, Zillah].
The ninth generation Lamech, descended from Seth,
is described as the father of Noah.