seed mixture x is 40 percent ryegrass and 60 percent bluegrass by weight ; seed mixture y is 25 percent ryegrass and 75 % fescue . if a mixture of x and y contains 30 % ryegrass , what percent of the weight of the mixture is x ?
"assuming the weight of the mixture to be 100 g * * , then the weight of ryegrass in the mixture would be 30 g . also , assume the weight mixture x used in the mixture is xg , then the weight of mixture y used in the mixture would be ( 100 - x ) g . so we can now equate the parts of the ryegrass in the mixture as : 0.4 x + 0.25 ( 100 - x ) = 30 0.4 x + 25 - 0.25 x = 30 0.15 x = 5 x = 5 / 0.15 = 500 / 15 = 100 / 3 so the weight of mixture x as a percentage of the weight of the mixture = ( weight of x / weight of mixture ) * 100 % = ( 100 / 3 ) / 100 * 100 % = 33 % answer : b"
divide(subtract(30, 25), subtract(divide(40, const_100), divide(25, const_100)))