In a fugue, the subject is the main theme that is introduced at the beginning and then repeated throughout the piece. The dux is the first statement of the subject, and it is usually presented in the tonic key. The comes is the second statement of the subject, and it is usually presented in a different key.