1, 2, 3, 4, 5, 6, 7, 8, 9, 10.
There are 5 odd numbers from 1 to 10.
So, the probability of choosing a odd number is going to be

So, the probability for one person is 0.5
And the same goes for the other person. So, you multiply 0.5 by itself.
So the probability is going to be (0.5*0.5) = 0.25