From the condition, when Maria was 6 years old, Andrew was 12 years old. So the difference between their ages is 6 years. Hence, since Maria is 9 years now, Andrew's current age is 9+6 = 15 years. ANSWER
Maria is now 9, so 3 years ago, she was 6
Since at that time, Andrew was twice her age, then at that time (3 years ago), Andrew was 2(6), or 12 years-old.
Three years after (now), obviously,.