Anja Buys gas for her car at three dollars per gallon writing equation using two variables to show the relationship between the number of gallons, g. And the total of she spends.

Let's use the variable t to represent the total amount Anja spends on gas and the variable g to represent the number of gallons she buys.

The equation representing the relationship between the total amount spent and the number of gallons purchased can be written as:

t = 3g

In this equation, t represents the total amount spent in dollars, 3 represents the cost per gallon in dollars, and g represents the number of gallons purchased.