ln class of 40 students, the number of students who study french is 10 more than the number of students who study both french and history , how many students study.​