The Baking Club is selling pies during lunch to raise money to go to baking competition. Each pie is cut into 8 slices. The club made a certain amount of pies, and the cafeteria staff donated 2 pies. If there were a total of 80 pie pieces to sell, how many pies did the Baking Club make?