Eddies towing company charges $40 to hook a vehicle to the truck and $1.70 for each mile the vehicle is towed. Which equation best represents the relationship between the number of miles towed, m, and the total charges, c?

A.c=40+1.70
B.c=40+1.70m
C.c=40m+1.70
D.c=40m+1.70