Answer:Alex is 21 years old.
Annie is 9 years old.
Explanation:
Let x represent Alex's age.
Let y represent Annie's age.
Alex’s age take away Annie’s age and you will get 12. This means that
x - y = 12
x = 12 + y - - - - - - - - - - - -1
Alex’s age is twice Annie’s plus three. This means that
x = 2y + 3 - - - - - - - - - - - - -2
Substituting equation 1 into equation 2, it becomes
12 + y = 2y + 3
2y - y = 12 - 3
y = 9
Substituting y = 9 into equation 1, it becomes
x = 12 + 9 = 21