I envision a longitudinal wave as a series of vertical lines like that drawn on the board in an introductory physics class. This image contains no angles. Sound is a longitudinal wave.

Some audiovisual references claim that sound is composed of sine waves.

I am trying to reconcile how longitudinal waves (no angles) can be composed of sine waves (dependent on angles). What maths or theory explains the relationship?