Interference
When 2 waves meet each other, they will go through each other instead of bouncing off. This leads to a phenomenon called wave interference. The 2 interacting waves will overlap each other with their peaks and troughs. For example, let's say 2 waves on a string meet, where one wave wants to make the string go up while the other wants to make the string go down. Obviously, the string cannot be in both places at once, so we take what is called a superposition. This is basically adding up the displacements of the 2 waves from equilibrium and averaging that out to get the position of the string. Note that this doesn’t only work for waves on a string but works for all mediums.