I've struggled to solve the following problem analytically:
Ann is $24$ and two times as old as Mary was, when Ann was as old as Mary is now.
The solution to this problem is:
Mary is currently 18 years old.
but I've failed to come up with an analytical way to conclude this. Any ideas?
This is what I've tried:
$$ y_{\text{Ann}} = 24 \;\,\,\text{and}\,\,\; y_{\text{Ann}} = 2 \cdot y_{\text{Mary (at the time Ann was as old Mary is now)}} \\ \Rightarrow \;\;\;\;12 = y_{\text{Mary (at the time Ann was as old Mary is now)}} $$
at this point I got stuck..