I agree with your answers elsewhere.
The book assumes an efficiency of 88 per cent in its text on the subject (not mentioned in the question) . It uses the formula:
Gallons = kW X time in hours X 300/ Temp. rise in degrees F.
Not too difficult, even in non metric units.
Z.