The example with lots of white dots that represents the ear is demonstrate which type of wave? Hint, they get stretched and pushed together. Is it a longitudinal or B transverse?

The example you described, where the white dots representing the ear get stretched and pushed together, demonstrates a longitudinal wave.