For this case we have that if 20 trees produce 1 gallon of syrup each, then we have 20 gallons of syrup.
We must find the number of containers for the 20 gallons, knowing that each container has a capacity of 3 gallons.

So, we need 7 containers.
Answer:
7 containers