Alligation or Mixture problems
A can contains a mixture of 2 liquids A and B in proportion 7 : 5 when 9 liters of mixture are drawn off and the can is filled with B, the proportion of A and B becomes 7 : 9. How many liters of liquid A was contained by the can initially?