SAT Math Question

Pink paint is made by mixing 5 parts white paint with 1 part red paint. If Joseph uses this method for making pink paint and he has 3 gallons of white paint and 1 gallon of red,what is the maximum amount of pink paint that Joseph can make?
(A) 3 2/5 gallons.
(B) 3 1/2 gallons
© 3 2/3 gallons
(D) 3 3/5 gallons
(E) 4 Gallons

The answer is D.
I just want to know how you get that answer. Thanks!

break the 1red and 3white into a 5-1 ratio so 3-.6. you will use up all the white paint that is 3 gallons as its what your 3 is in the 3-.6 ratio, and then .6 gallons of red so 3+.6=3.6