I am having problems solving this problem, can you help?
John and Mary are taking a mathematics course. The course has only three grades: A, B, and C. The probability that John gets a B is 0.3. The probability that Mary gets a B is 0.4. The probability that neither gets an A but at least one gets a B is 0.1. What is the probability that at least one gets a B but neither gets a C?