Let the number of gallons = g
First plan is
Plan A is one dollar per gallon plus an an annual fee of 50 dollars, that is

Second plan is
Plan B is 50 cents a gallon plus an annual fee of 100 dollars.

For plan A better than plan B,



It means, numer of gallons must be less than 100 .