Answer:
As per the law of superposition we know that when two waves superimpose at a point on the medium then the resultant displacement of the medium particle is vector sum of the displacement due to each wave.
So here by superposition principle we can write

now here we know that one of the wave reaches with crest while other wave reaches at trough position.
So we will have


so here by superposition we will have

so after superposition the medium particle will come to its mean position.