a container holding 12 ounces of a solution that is 1 part alcohol to 2 parts water is added to a container holding 8 ounces of a solution that is 1 part alcohol to 3 parts water . what is the ratio of alcohol to water in the resulting solution ?
"container 1 has 12 ounces in the ratio 1 : 2 or , x + 2 x = 12 gives x ( alcohol ) = 4 and remaining water = 8 container 2 has 8 ounces in the ratio 1 : 3 or , x + 3 x = 8 gives x ( alcohol ) = 2 and remaining water = 6 mixing both we have alcohol = 4 + 2 and water = 8 + 6 ratio thus alcohol / water = 6 / 14 = 3 / 7 answer : b"
divide(add(multiply(12, divide(1, add(1, 2))), multiply(8, divide(1, add(1, 3)))), subtract(add(12, 8), add(multiply(12, divide(1, add(1, 2))), multiply(8, divide(1, add(1, 3))))))