A 3-mi cab ride costs $4.50. A 7-min cab ride costs $8.10. Find a linear equation that models cost c as a function of distance d.