a and b are two partially filled buckets of water . if 4 liters are transferred from a to b , then a would contain one - third of the amount of water in b . alternatively , if 5 liters are transferred from b to a , b would contain one - half of the amount of water in a . bucket a contains how many liters of water ?
"let a contains a , b contains b liters so , ( a - 4 ) / ( b + 4 ) = 1 / 3 . . . . . . . ( 1 ) again , ( b - 5 ) / ( a + 5 ) = 1 / 2 . . . . . . . . . . ( 2 ) from ( 1 ) ( 2 ) we find a = 47 / 5 ans : ( a )"
divide(multiply(add(add(4, const_3), const_2), divide(4, const_2)), add(const_2, divide(const_1, const_2)))