Distance travelled by train = 480 km
Let the speed of the train be x kmph.
Time taken for the journey = 480x
Given speed is decreased by 8 kmph
Hence the new speed of train = (x–8) kmph
Time taken for the journey = 480x−8
⇒ 480x−8−480x=3
⇒ 480(x−x+8)x(x−8)=3
⇒ 4803×8=x2–8x
⇒ 1280=x2–8x
⇒x2−8x−1280=0
⇒x2−40x+32x−1280=0
⇒x(x−40)+32(x−40)=0
⇒(x+32)(x−40)=0
Either x+32=0 or x−40=0
As, speed cannot be a negative value,
We get, x=40
Thus, the speed of the train is 40 kmph.