Problem: a group of people participate in some curriculum , 30 of them practice yoga , 25 study cooking , 15 study weaving , 6 of them study cooking only , 8 of them study both the cooking and yoga , 7 of them participate all curriculums . how many people study both cooking and weaving ?
Rationale: "both cooking and weaving = 25 - ( 6 + 8 + 7 ) = 4 so , the correct answer is d ."
annotated_formula: subtract(subtract(subtract(25, 8), 7), 6)