Capital One Interview Question

Statistics problem and probablity equations