Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:3/4
K:D
['f2 e dcd egf', "a2 (b/4c'/4)d'/"  
X:1
L:1/8
M:3/4
K:D
 f2 e | dcd | egf | e/d/e/f/e | f2 e | dcd | egf | e2 e :: a2 (b/4c'/4)d'/ | a2 (b/4c'/4)d'/ | 
 gfe | d/c/d/e/d | a2 (b/4c'/4)d'/ | a2 (b/4c'/4)d'/ | gfe | d2 d :|  