Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:6/8
K:D
['f2 (d d)ed faa afd'  
X:1
L:1/8
M:6/8
K:D
 B |"D" AFD DFA |"D" ded"A" cBA |"Em" BGE EGA |"Em" B2 A"A7" Bcd |"D" AFD DFA |"D" ded"A" cBA | 
"Em" Bcd"A7" ecA |"D" (d3 d2) :: g |"D" f2 (d d)ed |"D" faa afd |"A" cAA eAA |"A" cBc"A7" efg | 
"D" f2 (d d)ed |"D" faa afd |"G" Bcd"A7" ecA |"D" (d3 d2) :|  