Rappi interview question

I got asked a probability question.