Answer:
Tanya is 14; Ruby is 11.
Explanation:
Let T represent Tanya's current age and let R represent Ruby's current age.
We know that their ages add up to 25. So:
![T+R=25](https://img.qammunity.org/2021/formulas/mathematics/high-school/jdt1pwlfcfqqgdxg1l1hpo1pe9e8sx3yb4.png)
8 years ago, Tanya was twice as old as Ruby. In other words, Tanya's current age minus 8 is the same as Ruby's current age minus 8 times 2. So:
![T-8=2(R-8)](https://img.qammunity.org/2021/formulas/mathematics/high-school/9l064mamuiyxsj7oepbvauq45ltfz5lhxw.png)
We have a system of equations. We can solve by substitution. From the first equation, subtract R from both sides:
![T=25-R](https://img.qammunity.org/2021/formulas/mathematics/high-school/yjpdnt3okjz4jfe33t0kptoakxh4kohquf.png)
Substitute this into the second equation:
![(25-R)-8=2(R-8)](https://img.qammunity.org/2021/formulas/mathematics/high-school/z74q41x4v3n345rt848zwlazc7qisxzilf.png)
On the left, subtract. On the right, distribute:
![17-R=2R-16](https://img.qammunity.org/2021/formulas/mathematics/high-school/7c0sdc6pggqg0kidva9at5szvdzchy378m.png)
Add 16 to both sides. The right side cancels:
![33-R=2R](https://img.qammunity.org/2021/formulas/mathematics/high-school/psry4f65qoh5e58mvpjnkd6ecumbubcs8c.png)
Add R to both sides. The left cancels:
![33=3R](https://img.qammunity.org/2021/formulas/mathematics/high-school/hid1a9qghz5tjzqnfvrf2aecofffl590lg.png)
Divide both sides by 3:
![R=11](https://img.qammunity.org/2021/formulas/mathematics/high-school/3frjmfd1tp2idf3w2kbftp2o8xq6zwn5tz.png)
So, Ruby is currently 11 years old.
So, Tanya is currently 25-11 or 14 years old.
Check:
8 years ago, Ruby was 11-8 or 3 years old.
8 years ago, Tanya is 14-8 or 6 years old.
Tanya's age of 6 is 2 times Ruby's age of 3 so our answer is correct.