Credit for this problem goes to Ultimate Puzzle Size. Thanks!

John and Julia

Julia is as old as John will be when Julia is twice as old as John was when Julia’s age was half the sum of their present ages.

John is as old as Julia was when John was half the age he will be 10 years from now.

The Question: How old are John and Julia?