Hello and welcome to LinuxQuestions,
You'll not likely get a lot of help here to complete your homework since it's against the
LQ Rules. If you post what you have got already and where it's failing then you're more likely to get some help pointing you in the right direction. Since you don't seem to have started yet, let me give you the first pointer to
The CUPS Software Administrators Manual. Have a look at chapter 3.
Kind regards,
Eric