Total number of cases n(S)=63=216
Product is prime, only when two outcomes are 1 and third is prime i.e. 2,3,5
If it is 2,1,1, then the number of cases is 3
Similarly, 3 cases for 3,1,1 and 5,1,1 each
Hence, favorable cases =9
Therefore, required probability (p)=9216=124
⇒14p=6