\( \definecolor{colordef}{RGB}{249,49,84} \definecolor{colorprop}{RGB}{18,102,241} \)
In a class of 40 students, 22 like mathematics (\(M\)), 18 like physics (\(P\)), and 10 like both. How many students:
  • like at least one subject?
  • like mathematics but not physics?
  • like exactly one subject?
  • like neither subject?