Where is this "6 functions" coming from? Without context it seems like a very strange request - can you post the relevant part of your assignment? Perhaps it describes what each of the six functions should do.

A good function is one that performs a specific, well-defined task. So think about what your program is doing. Look at what tasks it is doing, and break some of those tasks out into individual functions.

I would really appreciate if the replies were actual help, instead of telling me to look at tutorials... I've already looked at them and when I tried it on my own, it kept giving me errors and made the code insanely complex..