Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: sandy is younger than molly by 6 years . if their ages are in the respective ratio of 7 : 9 , how old is molly ?
