Formulate melodies by integrating the given motif within the predetermined arrangement.
X:1
L:1/8
M:6/8
K:A
['ABA ABc', 'A2 B ABA Acf gfg B3 efg'  
X:1
L:1/8
M:6/8
K:A
 F/G/ | ABA ABc | dAA A2 F | GBG FAF | EFG FED | ABA ABc | dgd cBA | fdd ecc | BdB A2 :: B | 
 ABA Acf | gfg B3 | efg bag | fed c3 | f2 g aff | dfd cBA | fdd ecc | BdB A2 :|  