First you need to find your total amount of marbles and this number will be your denominator (on the bottom).
8 + 14 + 12 = 34
Then you see how many black marbles are in the bag and this number will be your numerator (on the top).
The probability Jose will pick a black marble is 8/34 but you always reduce your fractions so the correct answer is 4/17.