Dmitri began working on his homework at 3:15 p.m. He worked for 1 5/6 hours and then stopped to have dinner. He started working on his homework again at 6:32 p.m. and worked for 1 1/3 hours longer. How many minutes did Dmitri work on his homework in all?