The cost of a taxi ride is represented by the function c(m)=2m+4, where m is the number of miles traveled. What is the cost per mile of the cab?