If the digits are a and b, then the number is 10a + b.
The calculation is then 10a + b - (a + b) which equals 9a.
The final screen is arranged so that every 9th symbol is the same, and that's the one which must be the answer.
It's a novel presentation, I must admit.