Of the ten decimal digits only 5 can be inverted (as written or printed numbers) and still be numbers:
0, 1, 6, 8, 9. We're given 6 and 9 (which are mutual inverses) so the blanks are the other digits, because they basically read the same upside down.