Formulate melodies by integrating the given motif within the predetermined arrangement.
X:1
L:1/8
M:9/8
K:D
['cAE EDE', 'Afg edc'  
X:1
L:1/8
M:9/8
K:D
|: cAE EDE FAB | cAE EDE FAd | B3 BAG GAB | BAA AGF FED | cAE EDE FAB | cde efd efd | 
 BAB BgB GAB |1 AfA Gdc dAB :|2 Afg edc Bde |: faa abd e2 d | fcd abd efa | edB BAB def | 
 fgf fdA Gde | fab aed ecd | fAB ABD EFA | BAB BgB GAB |1 Afg edc Bde :|2 Afg edc d3 ||  