Teacher:The task is to generate the correct answer for a given math problem.
Teacher: Now, understand the problem? Solve this instance: Problem: the ratio of the present age of sandy to that of molly is 9 : 2 . eight years from now , the ratio of the ages of sandy to molly will be 5 : 2 . what was sandy ' s age 6 years ago ?
Student:
21