Answer:
The temperature at midnight was 27 degrees.
Explanation:
Midnight to 5 A.M: The temperature fell 13 degrees.
5 A.M. to 9 A.M: The temperature doubled.
9 A.M. to Noon: The temperature rose 12 degrees to reach 40 degrees.
Let's work backward to find the temperature at midnight:
At Noon, the temperature was 40 degrees.
From 9 A.M. to Noon, it rose 12 degrees, so at 9 A.M. it was 40 - 12 = 28 degrees.
From 5 A.M. to 9 A.M. it doubled, so at 5 A.M., it was 28 / 2 = 14 degrees.
From Midnight to 5 A.M. it fell 13 degrees, so at Midnight, it was 14 + 13 = 27 degrees.
So, the temperature at midnight was 27 degrees Fahrenheit.