this is homework, right?
tip: create some sample rows for each and every table, using values other than 1,2,3, e.g number your students 13,14,15, your teachers 56,57,58, your classes 101,102,102, your courses 330,331,332, and so on
you should be able to see how the tables are related by looking at the sample rows, where the primary and foreign key values should actually link the sample rows in a consistent manner
when you get to the roles table, you will have a much better feel for what columns it requires