https://vle.mathswatch.co.uk/images/questions/question18013.png
That can't be an actual problem because pints and gallons have no relationship to geometry.