Since "in 2 years, Tom is five years older than Jerry", Tom always is five years older than Jerry until both are alive. In particular, two years ago Tom was 5 years older than Jerry, and was twice as old as Jerry at the same time, according to the condition. Hence, 2 years ago they were 5 and 10 years old. So, now they are 7 and 12 years old.