Nate is helping to redesign his basement. He is in charge of choosing and buying the paint. He wants a specific shade of green, so he is going to combine blue and yellow paint in the ratio of 1 : 3. If he needs 8 gallons of paint, how much yellow paint does he need to buy?