The father is 42 years and the son 12, now.
In x years father’s age will be twice that of his son. So
42 + x = 2(12+x) or
42 + x = 24 + 2x, or
18 = x. So in 18 years the father becomes 42+18 = 60 years while the son would be 12+18 = 30 and so half the age of the father.
Answer = 18 years.