a. As shown in the picture, the ratio of yellow paint to red paint is 2 to 3, it means for every 2 cups of yellow paint there are 3 cups of red paint.
b. According to the picture, there are 9 cups of red paint and 6 cups of yellow paint, it means there 15 cups of paint, no matter what, there will still be 15 cups of paint.