When n liters of fuel were added to a tank that was already 1/3 full, it was filled to 7/9 of its capacity. In terms of n, what is the capacity of the tank in liters?