Thepoethadtotakeintoaccounttheirfamilybecausetheyofferedhershelterandprotection.

Please segment the words:
The poet had to take into account their family because they offered her shelter and protection.