MathWorks Interview Question

Like using bayes theorem for simple question