Synopsys Interview Question

low pass and high pass filter waveform for square wave inputs