Answer:
Harry is 2 years old and Jim is 6 years old.
Explanation:
Let x years be Harry's age now and y years be Jim's age now.
1. In 4 years, Harry’s age will be x+4 years. If in 4 years, Harry’s age will be the same as Jim’s age is now, then

2. In 2 years, Jim's age will be y+2 years and Harry's age will be x+2 years. If in 2 years, Jim will be twice as old as Harry will be, then

Solve the system of two equations:

Substitute y=x+4 into the second equation:

and
