Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:4/4
K:Emin
['A<FF>E D>E G/F/E/D/'  
X:1
L:1/8
M:4/4
K:Emin
 dB |"D" A<FF>E D>E G/F/E/D/ | A<FF>A"G" B2 B<d |"D" A<FF>E D>E G/F/E/D/ |"G" F<BA>F E2 E :: A | 
"Bm" d2 f>dB>e"G" d/c/B/A/ |"D" d>df<d"E" B2 B>c |"D/F#" d2 f>d"G" B>e"A" d/c/B/A/ | 
"Bm" d>BA<F"Em" E2 E :|  