If you mean separate questions:
Bag: 4 green, 3 blue, 3 yellow, 10 total
Probabilty of choosing green = P(green) = 4/10 = 0.4
Bag: 4 green, 3 blue, 3 yellow, 10 total
Probability of choosing yellow = P(yellow) = 3/10 = 0.3
If you mean choosing green, then putting it back in the bag, then choosing yellow:
P(green) * P(yellow) = 0.4 * 0.3 = 0.12
If you mean choosing green, not putting it back in the bag, then choosing yellow:
P(green) = 0.4
Bag: 3 green, 3 blue, 3 yellow
P(yellow) = 3/9 = 1/3 or about 0.3333
P(green then yellow) = 0.4 * 1/3 = 4/10 * 1/3 = 4/30 or about 0.133333