Beth does not charge a registration fee for her dog-walking service, but she charges $5 per mile that each dog is walked. Tonya's dog-walking service charges a registration fee of $20, plus $3 per mile that each dog is walked. Write and solve an equation to find the number of miles m for which Tonya and Beth would charge the same amount.