The waveform shows y high whenever two or more of a, b, and c are high. Build that majority function.