two alloys a and b are composed of two basic elements . the ratios of the compositions of the two basic elements in the two alloys are 5 : 3 and 5 : 1 , respectively . a new alloy x is formed by mixing the two alloys a and b in the ratio 4 : 3 . what is the ratio of the composition of the two basic elements in alloy x ?
"mixture a has a total of 5 + 3 = 8 parts . if in the final mixture this represents 4 parts , then the total number of parts in mixture b should be ( 8 / 4 ) * 3 = 6 . so , we should take of mixture b a quantity with 5 and 1 parts , respectively . this will give us in the final mixture ( 5 + 5 ) : ( 3 + 1 ) , which means 10 : 4 , or 5 : 2 . answer c ."
divide(add(multiply(4, 5), multiply(3, divide(add(5, 3), const_2))), add(multiply(4, 3), multiply(3, divide(add(5, 3), const_2))))