we know that
total blocks=10
total odd prime numbers------> 3,5,7------> 3 numbers
so
Part 1
The probability of picking an odd prime number is
P=3/10 or P=0.3
Part 2
total blocks=10
total numbers greater than zero also a perfect square ------>1,4,9---> 3 numbers
so
The probability is
P=3/10 or P=0.3