For a standing wave to form in a medium, two waves must