Pregunta de entrevista de Capital One

Statistics problem and probablity equations