That is very true, but what is the question asking you.
displacement is given by equation

now at t = 5 s the position is

similarly position at t = 9 s

so the displacement of object in given interval of time will be

time interval

now the average velocity will be given as


so its average speed is 252 m/s
The difference between temperature and thermal energy is that temperature measures the average kinetic speed of molecule and thermal energy is the total kinetic energy of all particles in a given substance.