None of Buenchico's answers give you the answer to part 2
As specified both cubes must contain 0,1,2 to cover instances of 11, 22 and 03,04,05,06,07,08,09
The 6 can be turned upside down to represent 9
Therefore so far you have 012 on both cubes and you must place the other 6 numbers (3,4,5,6,7,8) in the remaining 6 spaces
How many ways can you do this?
In maths combinations terms, the answer is 6C3 or choose any 3 from 6.
6C3 = 6! / 3!x3! = 720 / 6x6 = 720 / 36 = 20
Answer = 20 ways
eg cube 1 with 012 + 345, 346, 347,348, 356, 357,358
367,368,378, 456, 457, 458, 467, 468, 478, 567, 568, 578, 678
Obviously you do not need to bother about cube 2 as it will be filled with 012 and whichever 3 numbers are not on cube 1
Answer = 20 solutions
The answer is 6C3 or