Well, if the cafeteria contributed 3 pies and they were cut into 7 pieces, there would be 21 pieces of pie.
If you subtract that from 91 pieces they sold it would equal to 70 pieces. You then divide that into 7 pieces (to make a whole) and you get 10.
So the cooking club made 10 pies