There are $5$ possible pairs: $(0,5)$, $(1,6)$, $(2,7)$, $(3,8)$, and $(4,9)$. Only one of these pairs have both digits appear, non-repeating. For each of the other pairs, only one digit can appear, repeating allowed. Also consider $0$ cannot be the first digit.