The correct option is B increases
The speed of wave is given by
v=νλ
As the frequency of a longitudinal wave is dependent on the frequency of the vibrations that lead to the creation of the longitudinal wave. Therefore, the frequency is always unchanged, irrespective of any changes in speed.
⇒v∝λ
Hence, when a longitudinal wave travels into a medium in which its speed increases, its wavelength also increases.