An aquarium tank is 1/6 full of water. When 2 gallons of water are added, the tank becomes 1/2 full. What is the total capacity of the aquarium tank, in gallons?