Since, A 3-mi cab ride costs $7.30 and a 8-mi cab ride costs $15.30.
In the information given above, we can consider these as the coordinate points on the axes.
Let (c, d) be the coordinates , where 'c' represents the total cost and 'd' represents the distance traveled.
Cost is on the 'y' axis and distance is on the 'x' axis.
Now, let the first point on the coordinate axes be (3, 7.30) and the other point is given by (8, 15.30).
For the given points say
and
, equation of line is given by:
where m(slope) is given by
.
The equation of line for the given points is:
![(c-7.30) = ((15.30-7.30)/(8-3))(d-3)](https://img.qammunity.org/2019/formulas/mathematics/high-school/ji54jcc3q7zi6p85mc2dqvp7k5b6974ac1.png)
![(c-7.30) = 1.6(d-3)](https://img.qammunity.org/2019/formulas/mathematics/high-school/vsns4s8memmqqhmi3zrztwvvtzyjfjdlue.png)
![c-7.30 = 1.6d-4.8](https://img.qammunity.org/2019/formulas/mathematics/high-school/epxgw7cod76hmqsqyjzxt3e7kh81owra5a.png)
![c-1.6d=2.5](https://img.qammunity.org/2019/formulas/mathematics/high-school/oml4208fwxhtbfyxn8sxcju7akiij47i22.png)
So, c = 1.6d+2.5 is the required linear equation that models a relationship between cost c and distance d.