Qualcomm Interview Question

Calculate some stochastic probability question