Hint
• Fill up the 9-gallon bucket from the river (bucket: 9 gallons, jar: 0 gallons).
• Fill up the jar with the water from the bucket (bucket: 4 gallons, jar: 5 gallons).
• Empty the jar and fill it with 4 gallons of water from the bucket (bucket: 0 gallons, jar: 4 gallons).
• Fill up the 9-gallon bucket from the river and pour some of this water into the jar so that it’s full (bucket:
8 gallons, jar: 5 gallons).
• Empty the jar and fill it up with the water from the bucket (bucket: 3 gallons, jar: 5 gallons).