Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:4/4
K:D
['dAdf efda', 'd2 fdcB Bffg edcA Acef dGGF GAFG'  
X:1
L:1/8
M:4/4
K:D
 dAdf efda | a2 gf e3 c | dAdf efda | abgf e2 d2 :| fdcB Bffg | edcA Acef | dGGF GAFG |1 
 ABGF EAce :|2 ABGF E2 D2 ||  