1 gallon = 4 qt.
1 quart = 2 pt.
1 pint = 2 c.
1 cup = 8 fl. oz.
In the UK they are different with the same names:
1 gallon = 4 quarts (8 pints/160 fl. oz.)
1 quart = 2 pints (40 fl. oz.)
1 pint = 2 cups (20 fl. oz.)
1 cup = 10 fl. oz.
and from http://www.metric-conversion-tables.com/imperialunitsmeasurement.htm
1 U.S. fluid ounce = 1.041 British fluid ounces
1 British fluid ounce = 0.961 U.S. fluid ounce
1 U.S. gallon = 0.833 British Imperial gallon
1 British Imperial gallon = 1.201 U.S. gallons
So the problem is that your (US) pint isn't my (UK) pint (and worse with gallons) - this is why SI units make more sense - and I wish we were using them more in the UK than we do currently on a day to day basis...
Research is to see what everybody else has seen, and think what nobody else has thought.