A fraction/probability is created by taking what we want and putting that over the total.
In this case, we want yellow out of the total number of marbles.
Yellow Marbles = 1
Total Marbles = 6 + 1 + 2 + 3 = 12
Probability/Fraction = 1 / 12
Hope this helps!