algebra word problem
The baseball team made some pies to sell during lunch to raise money for an end-of-year banquet. The cafeteria contributed two pies to the club. Each pie was then cut into four pieces and sold. There were a total of 36 pieces to sell, how many pies did the club make?