Answer:
![c=5+0.5*m](https://img.qammunity.org/2019/formulas/mathematics/high-school/5pg9qlw1i9avtl2esopaqq4f2kzz31wuuw.png)
Explanation:
I will call the total cost of the ride by the letter
, and the number of miles (acording to the problem) is
.
For each mile 0.5 cents are charged, so if m miles are traveled,
will be charged for those miles.
Then the total cost of the taxi ride is
![c=5+0.5*m](https://img.qammunity.org/2019/formulas/mathematics/high-school/5pg9qlw1i9avtl2esopaqq4f2kzz31wuuw.png)
the 5 in the equation is because the taxi ride is 5 dollars initially, and then the 0.5*m is the cost for the miles traveled.