Jazmyn uses 2 gallons of paint to paint 5 walls. He uses 4 gallons of paint to paint 10 walls. How many gallons of paint does he use per wall?