For this case we must find the quotient between the number of gallons of ice cream to serve and the number of gallons for each pint. For it:
We convert the mixed number into a fraction:

Thus, there are
gallons of ice cream to serve.
We look for the pint portions:

So, we have to serve 36 servings.
Asnwer:
36 servings