A train ticket costs $5 plus $0.10 per mile traveled. If the total cost for a ticket from City A to City B is $15, how many miles is the trip from City A to City B? Let's think step by step and output the final answer within \boxed{}.
user