The probability of a dice after being rolled such that any number shows up is 1/6 since there are six faces of the cube. On the other hand, the probability that the two cubes show different numbers is already 1/5 since one number is already occupied. Hence the probability (answer) is 1/30.