Answer:
[tex]c=\frac{3}{5}(n)+2.5[/tex]
Step-by-step explanation:
see the attached figure to better understand the problem
Let
c -----> the cost of some taxi journeys
n ----> the number of miles
we know that
The graph is a line
The equation of a line in slope intercept form is
[tex]c=m(n)+b[/tex]
where
m is the slope
b is the c-intercept (value of c when the value of n is equal to zero)
Observing the graph we have the points
(0,2.5), (5,5.5)
Find the slope
The formula to calculate the slope between two points is equal to
[tex]m=\frac{c2-c1}{n2-n1}[/tex]
substitute the values
[tex]m=\frac{5.5-2.5}{5-0}[/tex]
[tex]m=\frac{3}{5}[/tex]
we have
[tex]b=2.5[/tex] -----> because the point (0,2.5) is the c-intercept
substitute in the equation of slope-intercept form
[tex]c=\frac{3}{5}(n)+2.5[/tex]