In a class of 50 students, 40 students offered Physics and 30 offered Biology. How…