If the style looks familiar, it's because it mimics the famous Lions UNIX v6 source code book: http://v6.cuzuco.com/v6.pdf
I think it should have been provided for you so you didn't blow through your personal ink or have to pay student services to do it.