A container holds a mixture of three liquids A, B, and C in ratio 2: 3: 5. If 6 liters of liquid A, 12 liters of liquid B, and a certain amount of liquid C are added to the container, the new ratio of liquids A, B, and C becomes 3: 5: 8. Find the quantity (in liters) of liquid C added.