# questions regarding probability homework

i have come up against a question i do not understand
Box a has 5 balls one blue and 4 yellow
box b has five balls three blue and 2 yellow
find the probability the ball is yellow I am having problem because there are two bags and i am not sure how to put this in equation form

this is as far as I have gotten(4/9)*(2/5)=8/45 or 17.77%

• What does your question title have to do with the question? What does it tell anybody about your question? Do you know the difference between upper case and lower case? Does your computer not have a caps lock button? The understanding that you seek will come from within - trying to get others to do your work for you is not the right path. Commented Jun 16, 2014 at 17:08
• Sorry I am new to this whole thing I have a question about how to figure this and i haven't taken a math course in 20 years so I am lost at every turn
– john
Commented Jun 16, 2014 at 17:11

assuming what you meant was 'what's the probability of sampling a yellow ball', you should use the law of total probability: $$P(Y) = P(Y|B_1)P(B_1) + P(Y|B_2)P(B_2)$$ the probabilities to sample from either box are equal, as I understand.