Question 1124561
Look at 1000 computers, 800 in Factory A and 200 in Factory B.

===A==========B=====Total
G--560-----------160------720
B--240------------40------280
T---800-----------200----1000

280 are defective, 240/280 probability it came from A or 6/7 or 86%

720 not defective 160/720 probability it came from B or 2/9 or 22%