To answer this question, let's go through each option to understand why it is correct or incorrect:
Option A) RQPS - This option is correct because it rearranges the parts to form a coherent sentence. The correct sequence is "When he heard the hue and cry at midnight, he was nervous and did not know what to do."
Option B) QSPR - This option is incorrect because it does not form a coherent sentence. The sequence "he was nervous and did not know what to do, when he heard the hue and cry at midnight" does not make sense.
Option C) SQPR - This option is incorrect because it does not form a coherent sentence. The sequence "he was nervous and did not know what to do, when he heard the hue and cry at midnight" does not make sense.
Option D) PQRS - This option is incorrect because it does not form a coherent sentence. The sequence "did not know what to do, he was nervous and when he heard the hue and cry at midnight" does not make sense.
The correct answer is A. The proper sequence is RQPS, which forms a coherent sentence: "When he heard the hue and cry at midnight, he was nervous and did not know what to do."