An echo is heard when sound waves are reflected off a surface and return to the source. In this case, the engineer hears the echo of the whistle because the sound waves from the whistle are reflected by a surface (e.g., a building or a hill), and they return to the engineer. This is an example of reflection of sound waves.
Hence, the correct answer is (a).