Monica is trying to predict how much it will cost her to take a cab to the movie theater. She has observed that a 3-mile cab ride costs $8.96 and an 8-mile cab ride costs $18.46. Write an equation to model the cost of the cab, C, in terms of m, the numbers of miles traveled.