In a longitudinal wave, particle displacement is

from google, so I think the answer to that question is the second one