Sameness is conveyed by adding же to an "answer word," and the kind of sameness conveyed depends on what kind of answer it is:

"Question words" with their corresponding "answer words":
when then...