SLOW MAGNETOACOUSTIC WAVES IN TWO-RIBBON FLARES