I've seen many similar problems to this one, but I'm still a bit confused as to how to solve it:
Two buckets:
bucket $1$ has $3$ black balls, $7$ blue balls
bucket $2$ has $7$ black balls, $3$ blue balls
We draw randomly $12$ times from one of the buckets with replacement. This yielded $4$ black and $8$ blue.
What's the probability that the draw was made from the first bucket?
Hints:
Since you're just learning Bayes' Theorem, you need to break up the problem into parts. Bayes' Theorem for this problem will look like this (please verify you understand how I got this):
Let $J_i$ be the event that you are drawing from jar $i$. Let $D$ be the event that you drew 4 black and 8 blue balls.
$$P(J_i|D)=\frac{P(J_i)P(D|J_i)}{\sum_{i=1}^2 P(J_i)P(D|J_i)}$$
Hint: All you are doing is "renormalizing" your probabilities to 1, assuming you are in the part of the Venn diagram where $D$ has occurred. Draw the Venn Diagram for this problem and you'll see why.
Ok, you now have all the ingredients to solve this problem. Draw your Venn Diagram, study the above formula and Baye's Theorem and solve it. :-)