Karen's dog walking service charges a flat rate of $40 per month plus $3 per mile that each dog is walked. Annette does not charge a monthly fee for her dog walking servicee, but she charges $8 per mile that each dog is walked. Write and solve an equation to find the number of miles m for which Karen and Annette would charge the same amount