Question 1065502
Probability is the number of yellow balls divided by the total number of balls.
So,
{{{P(Y)=N[y]/N[tot]=5/(3+5+2)=5/10=1/2}}}
You do the next problem similarly.