Answer is the same as.
The speed of wave B must be same as the speed of wave A. Speed of a wave depends on the medium through which it travels. Both waves A and B are travelling in the same medium, nitrogen gas. Therefore, speed of wave A and wave B will remain the same. In the same medium and same conditions the speed of waves remain constant.