c = 2.95g

c is the cost , and g is gallons

cost is 1 dollar so we replace c with 1

1 = 2.95 g

Divide by 2.95 on both sides



That is one third of a gallon of gas

So she is correct.