Kaitlin knows that if she needs to add antifreeze to her car's radiator the mixture used must contain 50% antifreeze and 50% water. How many gallons of a mixture containing 80% antifreeze must be added to a 3-gallon mixture containing 40% antifreeze to obtain the mixture Kaitlin needs?