Solution:
Let M represent the muffin,
let C represent the coffee.
Given that the probability that a customer will buy a cup of coffee is 0.8, this implies that
[tex]Pr(C)=0.8[/tex]A customer buys a muffin 50% of the time when a cup of coffee is bought. This implies that
[tex]Pr(M|C)=\frac{50}{100}=\frac{1}{2}[/tex]10% of the time when a cup of coffee is not bought. This implies that
[tex]Pr(M|C^{\prime})=\frac{10}{100}=\frac{1}{10}[/tex]The probability of buying a muffin,when first buying a cup of coffee is evaluated as
[tex]undefined[/tex]