A wave that moves the matter it passes through up and down is a A) Transverse Wave, and one that moves the matter forward and back is a D) Longitudinal Wave.
There are two main types of waves, transverse and longitudinal, and I remember them by thinking that the longitudinal wave moves the matter in a longitudinal way (so forward and backward), and the transverse is the wave that moves the matter up and down — across (since transverse can mean "across") the wave.
Hope this helped!! xx