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.
[tex]\frac{2}{10}=\frac{1}{5}[/tex]for example, for 5 cups of blue paint, should be for yellow paint:
[tex]\begin{gathered} \frac{1}{5}=\frac{5}{x} \\ x=\frac{5\cdot5}{1} \\ x=25 \end{gathered}[/tex]therefore, should be 25 cups of yellow paint