a bucket contains 2 mixtures a and b in the ratio 3 : 2 . if 5 liters of the mixture is replaced by 5 liters of liquid b , then the ratio of the two liquids becomes 3 : 5 . how much of the liquid a was there in the bucket ?
"1 st ratio = 3 : 2 2 nd ratio = 3 : 5 difference of cross products ratio = 3 * 5 - 3 * 2 = 9 common factor of the 1 st ratio = ( quantity replaced / sum of terms in 1 st ratio ) + ( quantity replaced * term a in 2 nd ratio / difference ) = ( 5 / 5 ) + ( 5 * 3 / 9 ) = 1 + 5 / 3 = 2.67 quantity of a = 3 * 2.67 = 8 liters approximately answer is a"
multiply(divide(add(multiply(5, multiply(divide(3, add(3, 2)), 5)), multiply(3, subtract(5, multiply(divide(2, add(3, 2)), 5)))), subtract(multiply(5, 3), multiply(2, 3))), 3)