Solution : Let its original average speed be x km/h. Therefore,
i.e., 21 (x + 6) + 24x = x (x + 6)
i.e., 21x + 126 + 24x = x2 + 6x
i.e., x2 – 39x – 126 = 0
i.e., (x + 3) (x – 42) = 0
i.e., x = – 3 or x = 42
Since x is the average speed of the train, x cannot be negative.
Therefore, x = 42.