Calculate the probability that the product of two numbers selected at random with replacement from…