Explanation:
Set up an equation with variables representing both juices.
Let's say "m" is mango juice, and "p" is peach juice.
5m + 3p = 40
I'm not sure what your question is asking, but if you were to graph the value (or plug in one value and solve for the other), you can figure out what combination will always be able to make 40 cups of fruit punch.