Complex sentence: Two of her grandparent's sons were able to pass the examinations (jinshi) and they became officials, one of these sons was Tan's father.
Split into simpler sentences: Two of her grandparents'sons were able to pass the "jinshi" examinations and they became officials. One of these sons was Tan's father.