Final answer:
The equation that represents the cost, y, of x gallons of gas is y = 2.89x.
Step-by-step explanation:
To find the equation that represents the cost, y, of x gallons of gas, we need to determine the cost per gallon. We can do this by dividing the total cost by the total gallons purchased. In this case, LaShonda purchased 42 gallons for $121.38, so the cost per gallon is $121.38/42 = $2.89/gallon.
Therefore, the equation that represents the cost, y, of x gallons of gas is y = 2.89x.