The definition of a longitudinal wave is:
the direction of oscillation is parallel to the direction of energy transfer.
the direction of oscillation is perpendicular to the direction of energy transfer.
The definition of a transverse wave is:
Name label A on this longitudinal wave:
Wavelength
Compression
Amplitude
Rarefaction
Name label B on this longitudinal wave: