Solution:Suppose water and alcohol in a drum is 7x and 5x respectively.
Remaining total mixture after removing 9 liters =
(12x − 9) liters
Quantity of water in this mixture = (12x − 9) × 7/12
= (28x − 21)/4 liter
And the amount of alcohol = (12x − 9) × 5/12
The amount of alcohol in the mixture again on filling
10 liters of alcohol
= (12x − 9) × 5/12 + 10
= (60x − 45)/12 + 10
= (60x − 45 + 120)/12
= (60x + 75)/12
= (20x + 25)/4
According to second condition
∴ (28x − 21)/4 × 4/(20x + 25) = 7/9
⇒ 7(20x + 25) = 9(28x − 21)
140x + 175 = 252x − 189
175 + 189 = 252x − 140x
364 = 112x
(x = 3.25)
(Water = 7x = 7 × 3.25 = 22.75) Liter