设原来有xL,
倒出6L,加6L水,药:水=(x-6):6,浓度为(x-6)/x.水占6/x.
又倒出4L,药占4(x-6)/x,剩余药(x-6)-4(x-6)/x=(x²-10x+24)/x.
水占6-6/x×4+4=10-24/x=(10x-24)/x,
有(x²-10x+24)/x:(10x-24)/x=14:11,
11(x²-10x+24)=14(10x-24)
11x²-110x+264=140x-336,
11x²-250x+600=0
(11x-30)(x-20)=0
x1=30/11<6(舍去)∴x=20,
即容积为20L.