The total cost of gasoline varies directly with the number of gallons purchased. Gas costs $1.77 per gallon. Write a direct variation to model the total cost c for g gallons of gas.

A.) c = g + 1.77
B.) g = 1.77c
C.) c= 1.77g
D.) c= g/1.77