The first container of milk contains twice as much milk as the second container and the 3 gallons of milk from the first container, the first container has 4.5 times as much milk as the second. How many gallons of milk were in each container originally?