Question: there are 25 horses and 5 lanes?
Answer: To find the fastest, you need to run all 25 horses at least once, and since you can only race 5 horses at a time, you need a minimum of 25/5 = 5 races. Then you need to compare the winners of these races, which means a 6th race is necessary.