Answer: The answer could be 34.
Step-by-step explanation: Since he used an average of 15 gallons per race we can divide 51 by 3 which gives us 17 and since it's average it doesn't have to be exact. Then we multiply by 17*2 which give us 34 and that's our answer. Im sorry if I'm incorrect I tried my best! Hope this helps!