Explanation
Village X population = 68000 – 1200p
Village Y population = 42000 + 800p
These two values should be equal.
So,
68000 – 1200p = 42000 + 800p
1200p + 800p = 68000 - 42000
2000p = 26000.
P = 26000 / 2000 = 13
The population of the two villages are equal after = 13years