If the sum of the squares of the ages of a mother and her daughter is 1300 and the mother is 20 years older than her daughter, what are their ages? Let's think step by step and output the final answer within \boxed{}.
user