A housepainter mixed 5 gal of blue paint with every 9 gal of yellow paint in order to make a green paint. Which ratio of gallons of blue paint to gallons of yellow paint will make the same shade of green paint?
A. 30:54
B. 10:45
C. 27:15
D. 6:10