From midnight to 6:00 am, the temperature rose 1.05°C each hour. If the temperature at 6:00 am was -5.7°C, what was the temperature at midnight?