a container holding 12 ounces of a solution that is 1 part alcohol to 2 parts water is added to a container holding 9 ounces of a solution that is 1 part alcohol to 2 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 9 ounces in the ratio 1 : 2 or , x + 2 x = 9 gives x ( alcohol ) = 3 and remaining water = 6 mixing both we have alcohol = 4 + 3 and water = 8 + 6 ratio thus alcohol / water = 7 / 14 = 1 / 2 answer a"
divide(add(multiply(12, divide(1, add(1, 2))), multiply(9, divide(1, add(1, 2)))), subtract(add(12, 9), add(multiply(12, divide(1, add(1, 2))), multiply(9, divide(1, add(1, 2))))))