Fugue
When the second part comes in with the answer the first part will have to play something else, called a countersubject. If this “something else” is used every time in the piece to accompany the answer then it is called a regular countersubject. The countersubject should sound nice, and be grammatically correct, whether it is on top or below the subject. This is called “invertible counterpoint”.