To make a certain color of paint, the ratio of green paint to white paint is 5:2. How many gallons of green paint are required to mix with 14 gallons of white paint?