Monday Puzzle – How Old Are They?

CORRECT ANSWER:

Let us suppose two years ago Alex was “X” years
Then, Dana was 3X
Three years from now, Alex will be (X +2+3) = (X+5) years
And Dana will be (3X+2+3) = (3X+5) years
But it is given that Dana will be twice as old as Alex.
So, 2(X+5)= (3X+5)
or, X= 5 years

So Alex is 5+2= 7 years

And Dana is 5*3+2= 17 years