Randy has a lot of homework tonight. He needs to work for 45 minutes on social studies, 40 minutes on science, and 1 hour and 15 minutes on math. It will also take him 10 minutes to get ready for bed. If he wants to be in bed at 10:00, what time does he need to start his homework?