Matthew realized that keturah's mother is the first daughter of his mother what is relationship of keturah to matthew

Keturah would be Matthew's cousin.

Based on the information provided, Keturah is the daughter of Matthew's mother's first daughter. This makes Keturah Matthew's niece.