a certain dark blue paint contains 40 percent blue pigment and 60 percent red pigment by weight . a certain green paint contains 40 percent blue pigment and 60 percent yellow pigment . when these paints are mixed to produce a brown paint , the brown paint contains 40 percent blue pigment . if the brown paint weighs 10 grams , then the red pigment contributes how many grams of that weight ?
10 grams of combined mixture and 40 % blue pigment means that the mixtures were mixed 50 % each . thus 5 grams a piece . out of the 5 grams of the dark blue paint , 60 % is red . therefore , 5 * . 6 = 3 grams of red pigment
multiply(divide(divide(multiply(const_10, 40), const_100), const_2), divide(60, 40))