This question was asked in Ex 13.2, 4
Probability of solving specific problem independently by AandB

Shivu Kumar's image