7/8 of jar capacity represents 3/4 gallon. 8/8 of jar capacity represents x gallon. This proportion can be written as
Taking into account that 8/8 = 1 and solving for x gives
which represents, in gallons, the maximum amount of juice the jar can hold.