Assignments are "due" not "in."
So I'm going to rewrite it the way an American teen would.
First period, I had Psychology from 9-10:30. It's the longest period of the day. We just worked on our assignment that's due in a couple weeks. It was all right. Second period was 10:45-11:45. I have a study hall then so from 10:45 to 11:30 I went to the library and did the Sociology homework that's due tomorrow so I don't have to do it tonight. Good times.