We have that the probability to pick the card with 9 is:
then, the probability of picking the card with 8 is:
since we are replacing the card after picking the first card, both events are independent, then, we have:
therefore, the probability of picking a 9 and then picking an 8 is 1/16