The ages of Dan and his daughter are in the ratio of 5:2. If Dan's age was 30 years more than twice his daughter's age 10 years ago, what are their current ages? Let's think step by step and output the final answer within \boxed{}.
user