3 parts whiite with 5 parts black = 8 parts in total
So, fractional white is:

and, fractional black is:

For 2 gallons, we need:

Remember, we can buy only 1 gallons and half gallon cans.
Thus,
• 0.75 gallons of white paint needed will be acquired from 1 gallon can.
,
• To get 1.25 gallons of black paint, we would need one 1 gallon can and one half-gallon can. Total of 1.5 gallons.
Thus, we need 1 + 1.5 = 2.5 gallons.
Correct Answer
B