Formulate melodies by integrating the given motif within the predetermined arrangement.
X:1
L:1/8
M:6/8
K:D
['ABA D2 d dcA AGE', 'd3 fed edc AdB cde f3 gfg'  
X:1
L:1/8
M:6/8
K:D
|: ABA D2 d | dcA AGE | ABA ABc | dAB cde | ABA D2 d | dcA AGE | G3 Ade | fdc d3 :: fed edc | 
 AdB cde | f3 gfg | ABc def | g3 age | dcA AGF | GFG Ade | fdc d3 :|  