Answer:

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

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.