.
"When I was at your age now, you were only 5 years old. When you become as old as I am now, I will be 71 years old."
How old are A and B now, respectively?
---------------------------------------------------------------
Let me re-formulate to get the solution more easily.
===============================================================
When A was at the age of B now, B was only 5 years old. When B become as old as A is now, A will be 71 years old.
How old are A and B now, respectively?
===============================================================
Let x be the preset age of A and y be the present age of B.
When A was at the age of B now? - It was x-y years ago.
What was the age of B at that time, x-y years ago? The age of B was y - (x-y) = 2y-x.
It gives you the first equation
2y - x = 5.
When B become as old as A is now? - It will happen after x-y years.
What will be the age of A at that time? - The age of A at that time will be x + (x-y) = 2x - y.
It gives you the second equation
2x - y = 71.
Now solve this system
2y - x = 5,
2x - y = 71.
Do it yourself please. It is easy.
Answer. A is 49 years now. The present age of B is 27 years.