Google interview question

A question regarding marginal & conditional probability.