Two machines, A and B, each independently produces a product. Machine X makes 70 percent of the product while Y makes 30 percent. From past statistics, 5 percent made by X and 6 percent made by Y are defective. Given that a product randomly chosen was defective, what is the probability it came from X?
How could I start with this?
Thanks.
Hint to get started:
Let $10000$ products be produced.
Find out how many of these products are expected to be defective and find out how many of the defective products are expected to come from $X$.