Based on your very basic questions you don't have sufficient background to do what you are trying to accomplish. It a sad fact that you need to learn to walk before you run.
Learn the basics first. It makes every thing that follows much easier.![]()
This. Why are you in a class that's asking you to compose when it obvious you know zero theory? This can not possibly go well. You need to understand what major and minor keys are and how and why they are used. You also need to be able to figure out what notes are where on your fretboard with any kind of tuning.