Compose melodies using the provided motif and adhering to the designated musical form.
X:1
L:1/8
M:12/8
K:D
['', 'A2 F FED F2 A', 'afd efe d3'  
X:1
L:1/8
M:12/8
K:D
 B |: A2 F FED F2 A def | g2 e f2 d e2 d BdB | A2 F FED F2 A dfg |1 a2 f efe d3 dcB :|2 
 a2 f efe d3 dBA |: d2 e f3 gfe f3 | fgf fed e2 d cBA | d2 e f3 gfe f2 g |1 afd efe d3 dBA :|2 
 afd efe d3 dcB ||  