> Mary is 24 years old. She is twice as old as Ann was
So Ann was 12
> when Mary was as old as Ann is now
So Mary is older than Ann.
The age of Ann is somewhere between 12 and 24. Without much thinking I'd say that probably 12 and 24 are not included and probably it is an even number.
We can test each of them.
If Ann is 14 now, when Mary was 14 (10 years ago) Ann was 4 year old and Mary would be 8 now, this is not the solution.
If Ann is 16 now, when Mary was 16 (8 years ago) Ann was 8, Mary would be 16 now, nope.
If Ann is 18 now, when Mary was 18 (6 years ago) Ann was 12, Mary would be 24 now and she is. This is the solution.
Ann is 18.