David needs to complete his homework before dinner. If he starts his homework at 5:30 PM and it takes him 45 minutes to finish, what time will he be done with his homework?