Which brief are you doing?
I also had some difficulty composing, my advice is to choose a couple of instruments and stick with them, (it depends on the brief really), what I would do is come up with some ideas at home on your guitar (e.g. the melody that you're going to use) and then implement them into your composition at school.