(sidenote: As a former engineer, I am not quite sure of the accuracy of Olivia’s measurement. )
This problem is a classic type of dimensional analysis exercise and two of the answers can be immediately eliminated.
Then try flipping (3) and then (4) and see which one cancels out tablespoons and cups resulting in teaspoons over gallons.