<u>Answer:</u>
24 degrees
<u>Step-by-step explanation:</u>
If we assume the temperature at midnight to be
, then we can list the following sequence of temperature changes:
• At midnight ⇒ 
• At 5 A.M. ⇒
(16 less than
)
• At 9 A.M ⇒
(Double of temp. at 5 A.M.)
• At noon ⇒
(11 more than temp. at 9 A.M.)
From the question, we know that the temperature at noon was 27 degrees.
∴ 
Now, to find the temperature at midnight, we can simply solve for x:

⇒
(Distributing the 2 and expanding brackets)
⇒ 
⇒
(Adding 21 to both sides)
⇒ 
⇒ 
Therefore, the temperature at midnight was 24 degrees.