Set up two equations -- one for each trip -- and notice that the distances are equal. Thus, you can set the equations equal to each other, arriving at:
Speed1 * time1 = speed2 * time2.
You know that speed2 = speed1 + 5, and that time2 = time1 - 10.
Put these equations together and solve for distance...