Let's take the كتاب زوج المرأة example.
Here the case endings are: ِكتابُ زوجِ المرأة The ُ (damma / nominative) on كتاب reflects the role of كتاب in the sentence - so if the full sentence was ' I read the book of the husband of the woman', it would be َ (fatha/accusative) instead.
All the rest of the elements of the sentence take ِ (kasra / genitive).
NOTE: none of the elements take tanwiin (doubled case markings) because the whole phrase is definite