Without knowing what your instructor covered in class, we can't even give you a good guess at how to do this. All three of the classic methods for representing graphs are easy to support in SQL, and many of the more avante-guard representations are easy too.
Talk with the instructor. It is still quite early in the session (at least most places). They should be willing to help you work this out.