Answer:
Explanation:
If this is linear, then the difference between each x/y coordinate is constant, representing the slope of a straight line. We can find the slope of that line by using the slope formula:
![m=(y_2-y_1)/(x_2-x_1)](https://img.qammunity.org/2022/formulas/mathematics/college/eqjdghvjua3qezrcsjgs547ogokvgz15j6.png)
For use we will use the coordinates (11, 24.15) and (12, 26.05) from the data as our x and y values respectively. Filling in the formula:
which gives us the cost per gallon of gas as
m = 1.90
Now that we know the cost per gallon of gas (which is also the slope of the line we are looking for), we will use that slope value, m, and write the equation in point-slope form and then solve it for y. Point-slope form of a line is
where y1 and x 1 are the coordinates from a given data point. We can use either one; regradless of the point we choose as x and y, we'll get the same exact answer every time. Let's use the coordinate (12, 26.05) and fill in the point-slope form of the line:
y - 26.05 = 1.90(x - 12) and then we will distribute and solve for y:
y - 26.05 = 1.90x - 22.80 and
y = 1.90x + 3.25
That's the equation we need to solve for what the second part of the question is asking us to, which is to find the cost, y, of filling a tank that is 26 gallons, x. Fill in 26 for x and solve for y:
y = 1.90(26) + 3.25 and
y = 49.40 + 3.25 so
y = $52.65