(i) A 5-digit palindrome has the form (digit 1)(digit 2)(digit 3)(digit 2)(digit 1). The palindromes that start with 4 and 9 are 49,094, 49,194, … , 49,994. 49,994 already has the largest middle digit, 9, so there is no bigger palindrome starting with 49. A palindrome starting with 4 cannot have a second digit bigger than 9 either.
So the next palindrome must start with 5. The smallest one is 50,005.
50,005−49,994=11
The next palindrome comes after 11 km.
(ii) After 50,005 the next palindrome keeps 5, 0, …, 0, 5 and makes the middle digit 1: 50,105.
50,105−50,005=100
It comes after 100 km more (111 km from today).