Word problems can be confusing. Let's put it into mathematical terms, making x the variable for age.
Three years ago (-3) Jim was three times as old as Tom was then (3x). In five years (+5) Jim will be twice as old as Tom will (2x). How old is each now?
is how we would write the problem. Now, all we do is simplify the problem:
We end up with x=8. X is Tom's age, so we know that Tom was 8. Today, he'd be 11. Let's plug that into one of the two original expressions.
to
to
. If Jim was 21 three years ago, now he's 24.
So, your final answer is that Jim is 24 and Tom is 11. :)