Longitudinal waves are waves in which the medium is moved in the same direction as the wave's propagation.
When waves combine in a way that entirely cancels each other out, destructive interference occurs. Two waves must have the same amplitude traveling in opposing directions to interfere destructively.
The graph of the longitudinal waves is displayed below:
The wavelength determines the separation between the centers of two adjacent compression or rarefaction areas.
The term "constructive interference" refers to when the compression and rarefaction areas of two waves overlap, whereas the term "destructive interference" refers to whenever they do not.
Hence, this is the way to draw a longitudinal wave graph.