A shade of green paint is created by mixing a certain amount of blue paint. The ratio of yellow to blue paint is 3:7. Based on this ratio how much yellow paint would be needed to prepare 5 gallons of green paint.