Louisa used Downtown Taxi, which charges $2 for the first mile and $1.10 for each additional mile. Pietro used Uptown Cab, which charges $5 for the first mile and $0.95 for each additional mile. They paid the same amount and traveled the same distance. How far did they travel?