The two waves would pass through each other and continue traveling in their original directions. At the point where they meet, both waves would be visible as their displacements add together through superposition. If a crest met a trough, they would undergo destructive interference and cancel each other out at the point where they meet.