a new york city taxi charges $3 per ride plus an additional $0.50 per mile what is the function

1 answer

how about

cost = .5m + 3 , where m is the number of miles

(don't know how they handle a partial mile)