Hi Silvana,
Let c = gallons of cherry juice and let g = gallons of grape juice
Then c + g = 2
We need 5% juice after mixing 4% cherry with 8% grape
Convert % to decimal by moving the decimal point two places to the left
.04c + .08g = .05(c+g) = .05c + .05g
From the first equation, c = 2 - g
Now substitute that for c in the second equation
.04(2-g) + .08g = .05(2-g) + .05g
.08 - .04g + .08g = .1 - .05g + .05g
.08 + .04g = .1
.04g = .02
g= 0.5 gallons
then c = 1.5 gallons
This makes sense. . . you would expect more cherry juice since 4% is only a little less than 5% while 8% is a lot more than 5%.
Dan