Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
Q:1/4=120
M:4/4
K:D
['(a<f) (e<d)']  
X:1
L:1/8
Q:1/4=120
M:4/4
K:D
"^Mournfully" d2 | (g3 a) (gf)(ed) | (d2 f).a .b2 (d'b') | (a<f) (e<d) (B>ABd) | d4 z2 z f | 
 (g3{agfg} a) (gf){f}(ed) | (d2{edcd} f).a{^a} b2 (d'b) | (a<f) (e<d) (B>ABd) | d4 z2 z .b | 
 (=c'3 d') (c'ba).f | (a2 bd') .d'2 z b | (=c'3 d') (c'b)(d'b) | (af){f}(ed){c} B2 z b | 
 (=c'3 d') (c'<b) d'2 | (d2 fa){^a} !fermata!b2 (db) | (a<f) (e<d) (B>A)(B<d) | d4 z2 ||  