Step-by-step explanation:
the function is
ride cost c = mile rate r Ă— miles m + flat rate f
c = rĂ—m + f
now let's put the values in we know and solve for r and f :
9 = rĂ—3 + f
17 = rĂ—7 + f
now, since one term is the same in both equations, we use a simple trick for speed, and we subtract the whole first equation from the second :
17 = rĂ—7 + f
- 9 = rĂ—3 + f
-------------------
8 = rĂ—4 + 0
r = 8/4 = $2
9 = 2Ă—3 + f = 6 + f
f = $3
the first rate is $3, and it costs $2 per mile.