If you buy a car at a gash station for $5.00, the cost per gallon is $3.10. If you have $40, write and solve a linear equation to find the number of gallons of gas you can afford