The container that holds the water for the football team is 1/2 full. After pouring in 3 gallons of water, it is 7/10 full. How many gallons can the container hold?