longitudinal type of mechanical wave is produced by pushing sharply on the end of a spring toy. it is that type of mechanical wave which contains vibration along the direction of motion in the form of compression and rarefaction. a spring compressed or stretched when released, converts its spring potential energy into mechanical wave energy. hence the answer is longitudinal wave.