We have the following:
The first thing is to calculate the ratio between both paintings.
After finding the ratios, it can be calculated for any value using a proportionality rule.
for example, for 5 cups of blue paint, should be for yellow paint:
therefore, should be 25 cups of yellow paint