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
6 : 10

C
10: 45

D
27 : 15