Answer:
![y=4x](https://img.qammunity.org/2020/formulas/mathematics/middle-school/m0431g82r8zd96x6s6pwb8b94pznyr9f8q.png)
Explanation:
Let
x ----> the number of miles
y ----> the cost in dollars
step 1
Find the slope
The formula to calculate the slope between two points is equal to
![m=(y2-y1)/(x2-x1)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/3alxf865ejd0fdnwnbs21cssprdlquqoeh.png)
take the points
(2,8) and (3,12)
substitute
![m=(12-8)/(3-2)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/jbjdjrnbo4wutlvrjbsx46fo5q55hnblhy.png)
![m=(4)/(1)=4](https://img.qammunity.org/2020/formulas/mathematics/middle-school/n0jbnurm7wftmzseijhidrawwjha64kbcy.png)
Remember that the slope is the same that the unit rate of the linear equation
In this problem the slope means ----> $4 per mile
step 2
Find the equation in point slope form
![y-y1=m(x-x1)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/38rsw060gekfjbf76g57jsb45ginj88wcy.png)
we have
![m=4](https://img.qammunity.org/2020/formulas/mathematics/high-school/xpv5828ne56hdaq021276ipjbtebr3swor.png)
![point\ (1,4)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/yze44mgmzxytnyceknwp1kra8nllnzk4lk.png)
substitute
![y-4=4(x-1)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/nefdo02fqejsi8p4c8p8in8aw566dtopzg.png)
step 3
Convert to slope intercept form
![y=mx+b](https://img.qammunity.org/2020/formulas/mathematics/high-school/8nudzfk4b5l0arb9iixag2w8am6zn99zlr.png)
isolate the variable y
![y=4x-4+4](https://img.qammunity.org/2020/formulas/mathematics/middle-school/3i3r3jv3mbzbzday1edg3b5xrtylkdci6e.png)
![y=4x](https://img.qammunity.org/2020/formulas/mathematics/middle-school/m0431g82r8zd96x6s6pwb8b94pznyr9f8q.png)
The equation represent a proportional relationship between the variables x and y