3/4 of a gallon is 6/7 of the amount originally in the container. how much was in container originally

(6/7)x = 3/4

x = (3/4) / (6/7)
x = (3/4) * (7/6)
x = 21/24 = 7/8 of a gallon