The possible digits are:
5, 6, 7, 8 and
9. Let's mark the case when the locker code begins with a prime number as
A and the case when <span>the locker code is an odd number as
B. We have
5 different digits in total,
2 of which are prime (
5 and
7).
First propability:
</span>

<span>
By knowing that digits don't repeat we can say that code is an odd number in case it ends with
5, 7 or
9 (three of five digits).
Second probability:
</span>
Um.... 368 369 370 371 372 372 374 375 376 377 378 379 etc
A is the correct answer 3 terms and a degree of 9:)
I think you have to sketch the graph
Two out of five Would be my answer