Given events A and B, their probabilities are:

a.
If the events are mutually exclusive, this means that they can not occur at the same time. Then:

Additionally, from the formula for conditional probabilities, we have:

Then, using the values for P(A), P(B), and (1):

b.
If the events are independent, this means that:

Finally, using P(A) and P(B) in (4), (5), and (6):
