Joanna,
You're definitely on a Bayes' Theorem problem. Let's review what that is starting with definition of conditional probability (probability of A given B):
P(A | B) = P(A ∩ B) / P (B)
Multiply the P(B) to both sides and we get:
P(A | B) P(B) = P(A ∩ B) or (flipping around)
P(A ∩ B) = P(A | B) P(B)
Should read intuitively, the probability of A and B happening is same as probability of A happening given be times the probability of B happening. Example: probability of flipping two heads in a row on a coin (1/2*1/2) is same as flipping a heads (1/2) given the previous was a heads (1/2) so again (1/2*1/2).
Now cleverly let's plug this into P(B|A) (remember P(A ∩ B) = P(B ∩ A)):
P(B | A) = P(B ∩ A) / P(A)
P(B | A) = P(A | B) P (B) / P (A)
So let's collect some stuff:
P( white ball | urn 1) = 1/6
P( red ball | urn 1) = 5/6
P( white ball | urn 2) = 4/6
P( red ball | urn 2) = 2/6
Key here in wording from "One of two urns is chosen at random with one as likely to be chosen as the other." is:
P( picking from urn 1) = 1/2
P(picking from urn 2) = 1/2
Now finally what is the question: " If a red ball is drawn, what is the probability that it came from urn 2?" Let's write that as a conditional:
P(urn 2 | red ball)
Using Bayes' Theorem ( P(B | A) = P(A | B) P (B) / P (A) ) and plugging in everything we have we get:
P(urn 2 | red ball) = P(red ball | urn 2) P(urn 2) / P(red ball)
P(urn 2 | red ball) = (2/6) * (1/2) / P(red ball)
But what's P(red ball)? Well let's use total probability P(red ball) = P(red | urn 1) P(urn 1) + P(red | urn 2) P(urn2). This just says the probability of an event can be rewritten as sum of all the individual conditions. SO for us P(red) = 5/6 * 1/2 + 2/6 * 1/2 = 7/12
So our final answer is:
P(urn 2 | red ball) = (2/6) * (1/2) / (7/12)
P(urn 2 | red ball) = (2/12) / (7/12)
P(urn 2 | red ball) = 2/7
This checks out intuitively since urn 2 has a lot less red balls than urn 1. A way to think of this is just if I have just a ball of any kind the best guess is 50/50 for urn 1 and urn 2 right? But now that I tell you it's red, you can "update" your probability and it's more likely urn 1. This is a very common way to think of Bayes' Theorem in probability: prior, update, and posterior (i.e. probability, evidence, new probability based on evidence).