.
Becky is doing research in which she needs 28 grams of a substance that is 30% protein. How many grams of each two ingredients,
one that is 50% protein and the other 25% protein, should she mix together?
~~~~~~~~~~~~~~~~~~
Let x be the amount of the 50% protein ingredient (in grams), and
y be the amount of the 25% protein ingredient.
Then your equations are
x + y = 28, (1) (total mass balance)
0.5x + 0.25y = 0.3*28. (2) (protein mass balance)
To solve it, multiply eq(2) by 2 (both sides). The modified system is
x + y = 28, (3)
x + 0.5y = 2*0.3*28 (4)
Now subtract eq(4) from eq(3). The terms "x" will cancel each other, and you will get a single equation for y:
y - 0.5y = 28 - 2*0.3*28, or
0.5y = 28 - 2*0.3*28 = 11.2 ====> y = = 22.4.
Answer. 22.4 grams of the 25% protein ingredient and (28-22.4) = 5.6 grams of the 50% protein ingredient is needed.
Check. 0.5*5.6 + 0.25*22.4 = 8.4.
0.3*28 = 8.4. ! Correct !
Be aware ! Writing by @josgarithmetic is INCORRECT !