Work it back from the end.
If you are female then "Your daughter's mother" is yourself. So if Teresa's daughter is yourself, then Teresa is your mother.
If you are male, then "Your daughter's mother" is your wife/partner, in which case Teresa is your mother-in-law.