a certain maroon paint contains 50 percent blue pigment and 50 percent red pigment by weight . a certain green paint contains 30 percent blue pigment and 70 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 * . 5 = 2.5 grams of red pigment
multiply(divide(50, add(const_100, const_100)), const_10)