Some volunteers set up a table with cups of water for marathoners to grab as they run by. They start the day with 6 gallons of water. How many gallons do they have left after passing out 40 cups?