Answer:
The answer is the option C
[tex]y=0.85x+2.55[/tex]
Step-by-step explanation:
Let
x-------> the number of miles
y------> the cost
The formula to calculate the slope between two points is equal to
[tex]m=\frac{y2-y1}{x2-x1}[/tex]
we have
[tex]A(2,4.25), B(7,8.50)[/tex]
Substitute the values
[tex]m=\frac{8.5-4.25}{7-2}[/tex]
[tex]m=\frac{4.25}{5}=0.85\frac{\$}{mi}[/tex]
Find the equation of the line
The equation of the line into slope-intercept form is equal to
[tex]y=mx+b[/tex]
we have
[tex]m=0.85\frac{\$}{mi}[/tex]
[tex]A(2,4.25)[/tex]
substitute and solve for b
[tex]4.25=0.85(2)+b[/tex]
[tex]b=4.25-1.70=2.55[/tex]
The equation of the line is equal to
[tex]y=0.85x+2.55[/tex]