There is no apostrophe in Spanish, so sentences about the family will look very different from the English. Instead of saying Mary's mother, you need to say the mother of Mary.
Ana es la madre de María. = Ana is the mother of Mary.
Juan y Pedro son los hijos de Ana. = Juan and Pedro are the sons of María.