In a class of 40 students, the number of people who study science. If 8 people study both subject and each student study at least one of the subjects

c'mon, man - read what you typed before you hit that Submit button.