The correct answer is: A. PQSR
The captain, who was himself a brave man, advised the soldiers never to lose heart when engaged against the enemy.
P: The captain
Q: who was himself a brave man
R: never to lose heart
S: advised the soldiers
The captain is the subject of the sentence, and the soldiers are the direct object. The captain’s advice is to never lose heart, and the situation is that the soldiers are engaged against the enemy.
The other options are incorrect because they do not follow the correct order of the sentence.