Answer:
Step-by-step explanation:
When James is twice as old as John, the difference in their ages will be John's age: 10. That is 5 years from now, so John's age now is 10 -5 = 5.
John is 5 years old.
__
3 years ago, John was 2 and James was 12. Their total age at that time was 14.