Tom and Jerry are participating in a running competition. Tom runs at a constant speed of 8 km/h, while Jerry runs at a constant speed of 6 km/h. Due to an early start, Jerry begins running 10 minutes before Tom. After Tom starts running, he decides to increase his speed by 25% after every 15 minutes. How far will Tom have run when he catches up to Jerry? Let's think step by step and output the final answer within \boxed{}.
user