3. 3/8
Each dice can have any of {1,2,3,4,5,6} values. So total number of possible outcome 6*6*6.
We need to have prime on "exactly" 2 dice. There are 3 ways we can choose 2 dice out of 3 dice.
So 3 possible case here.
Each of these 2 dice must have value from {2,3,5}. So there are 3*3 possible cases here.
The other dice must have value from {1,4,6}. So 3 possible case here.
So total possible expected event 3*3*3*3.
Probability: 3*3*3*3 / 6*6*6 = 3 / 8.
:blush: