Help me with this question please

Answer:
Part A: 14
Part B: 10
Step-by-step explanation:
Since the ratio to each paint is the same...
(red/yellow) 2/5=x/35
Cross Multipy
5x=70
x=70/5
x=14
Repeat the same thing but replace 35 with 25 for Part B
2/5=x/25
Cross Multiply
5x=50
x=10