Gavin mixes the amount of red from one shade of paint with the amount of yellow from a different shade of paint. He mixes the batch so he will have the greatest possible amount of paint. What amounts of red and yellow from which shades are used in the mixture?