Let original speed of train = x km/hr
Increased speed of train = (x + 5) km/hr
Distance = 300 km
According to the question,
300x−300x+5=2
300(x+5−x)(x)(x+5)=2
1500=2(x2+5x)
1500=2x2+10x
2x2+10x−1500=0
x2+5x−750=0
x2+30x−25x−750=0
x(x+30)−25(x+30)=0
(x+30)(x−25)=0
Either x + 30 = 0 or x - 25 = 0
⇒ x = -30 (Rejected), so x = 25
Original speed of train is 25 km/hr.