City Cab charges a flat fee of $3 plus 0.50 per mile. Henry paid $10.50 for a cab ride across town. The equation 3 + 0.50m = 10.50 represents Henry's cab ride, where m is number of miles traveled. How many miles did Henry travel?