I think this is a trick question. Say, there are 2 pounds of cocoa / 1 gallon of chocolate ice cream. But then the problem only mentions the production of eight gallons of strawberry ice cream, not chocolate ice cream.
However, if they're somehow related (like they are made from the same machine), then you need 16 pounds of cocoa to produce 8 gallons of chocolate ice cream.