Hello!
So you figure that 7/10-5/10=2/10 that leave you with 1/5 left over. So if you take that into effect, all you have to do it multiply those 3 gallons by 5. Which gives you 15. So, your answer would be 15 gallons.
I hope this helped!
I am, yours most sincerely
SuperHelperThingy