Here's the second one guys and girls, hope you enjoy it!
First, let's write a simple diatonic melody(you can include a key signature just to let your teacher know you know what you are doing).
Take the first seven notes and stack them vertically, to avoid visual collisions or repetitions, transpose every two or three notes an octave higher(I transposed B, D and G. This chord will generate all our material).
Now we will make the six possible inversions of our chord…
…then we will transpose those inversions in order to make B their root note.
Take those chords and split them in chords of three or four notes, then put them sequentially on the same octave to make a little "progression"(I also put them in the bass clef and added a time signature and a metronome mark).
With our progression in mind, we will take our original melody and intersperse a note between each one of the original notes, try these notes to be the same interval or set of intervals in relation to the original notes in order to give cohesion to the melody(I interspersed a minor third down and a perfect fourth up respectively, also notice that I used eight notes).
Put the resulting melody over our progression's time signature and repeat it if necessary to cover three repetitions of the progression. After one repetition I repeated the last ten notes of the melody, transposing it a major second down and changing the last note to add some kind of conclusion.
Now let's put our melody and progression together, I added expression, accents, some harmonies on the repetition of the melody, and a G at the end as a kind of cadence.
For our second theme, we will take all the notes of our melody and will change their durations to eight notes, also I took all the notes below the E flat and transposed them an octave up, then I took the result and transposed it down an octave(notice that I put the new melody in the score starting on the first bar's second eight note and added some expression).
Our new melody has 37 notes, so let's make a seven note motif over it(if you study it carefully, you will find out where mine came from), repeat it five times(7x5=35) and for the last two notes we will use the same as our melody but an octave higher.
Here's our second theme, notice I repeated our new segment twice and added a third iteration an octave higher.
Now we will play our finished piece combining our two sections, I played a little with the structure and added a couple of bars at the end as an ending.
This is it! hope you had liked this lesson, any comments or questions, feel free to contact me.