Rappi Interview Question

I got asked a probability question.