Qualcomm interview question

Calculate some stochastic probability question