Answer:
10 yellow marbles
Step-by-step explanation:
(y is the amount of yellow marbles)
y=2x-2
y=2(6)-2
y=12-2
y=10
10 yellow marbels
12...................
it would be B i hope i helped