White ball: black ball = 2: 31:91:41:91:4.
Total number of white balls: total number of black balls = (2+1+1+1): (3+9+4+9+4) = 6: 29.
12 divided by 6 times 29=2 times 29=58 (pieces)