и та и другая семья
both families
both this family and that one
same and other family
"same and other" is completely wrong